Sha256: e951070f058ac4a3a6bd16c60ae4c5bd205d4fe6c0c798babba2b4fc212908fa

Contents?: true

Size: 896 Bytes

Versions: 3

Compression:

Stored size: 896 Bytes

Contents

- @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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-blog-3.4.9 app/views/workarea/storefront/blogs/index.html.haml
workarea-blog-3.4.8 app/views/workarea/storefront/blogs/index.html.haml
workarea-blog-3.4.7 app/views/workarea/storefront/blogs/index.html.haml