- @title = @blog_index.browser_title - add_css(@blog_index.css) - add_javascript(@blog_index.javascript) - content_for :head do %link{ href: blog_path(@blog_index), rel: 'canonical' } - unless @blog_index.meta_description.blank? %meta{ name: :description, content: @blog_index.meta_description } .blog-index.view{ itemscope: true, itemtype: 'http://schema.org/Blog' } = render_content_blocks(@blog_index.content_blocks_for(:header_content)) %h1.blog-entry-summary__title{ itemprop: 'name' }= t('workarea.storefront.blogs.name') - @blog_index.each do |blog| %section %h2.blog-index__title{ itemprop: 'name' } = link_to blog.name, blog_path(blog), itemprop: 'url' .pagination-results .blog-entry-summary__entry-group - blog.entries_on_index.each do |entry| = render 'workarea/storefront/blog_entries/summary', entry: entry