def render_posts_as_json_ld(posts)
      render_json_ld do
        {
          "@context": 'http://schema.org',
          "@type": 'Blog',
          "name": t('.title'),
          "url": request.original_url,
          "description": t('.description'),
          "publisher": {
            "@type": 'Organization',
            "name": Integral::Settings.website_title
          },
          "blogPosts": posts.map(&:to_json_ld)
        }
      end
    end
def render_posts_as_json_ld(posts)
      render_json_ld do
        {
          "@context": 'http://schema.org',
          "@type": 'Blog',
          "name": t('.title'),
          "url": request.original_url,
          "description": t('.description'),
          "publisher": {
            "@type": 'Organization',
            "name": Integral::Settings.website_title
          },
          "blogPosts": posts.map(&:to_json_ld)
        }
      end
    end
@param posts [Integral::Post] collection of posts to convert to JSON-LD

 @return [String] Javascript snippet containing JSON-LD of the provided posts