Sha256: d5b92ebe0325cc823164830107d333163d909f01cf81244861e3929b227f79fa

Contents?: true

Size: 1.55 KB

Versions: 3

Compression:

Stored size: 1.55 KB

Contents

%article.blog-entry-summary__entry{ class: entry.featured ? 'blog-entry-summary__entry--featured' : '', itemprop: 'blogPost', itemscope: true, itemtype: 'http://schema.org/BlogPosting', data: { pagination_item: '' } }
  %heading
    %h2.blog-entry-summary__entry-title{ itemprop: 'mainEntityOfPage' }
      %span{ itemprop: 'headline' }= link_to entry.name, blog_entry_path(entry), itemprop: 'url'

  %p.blog-entry-summary__entry-author{ itemprop: 'author', itemscope: '', itemType: 'http://schema.org/Person' }
    %span{ itemprop: 'name' }= entry.author
  %p.blog-entry-summary__entry-datetime
    = local_time(entry.written_at, format: :long, itemprop: 'datePublished dateModified')
  %p.blog-entry-summary__entry-comment-count{ itemprop: 'commentCount' }= link_to t('workarea.storefront.blogs.comments', count: entry.comment_count), blog_entry_path(entry, anchor: 'blog-entry-comments')
  = render 'workarea/storefront/blog_metadata/publisher'

  - if entry.has_thumbnail_image?
    %p.blog-entry-summary__entry-thumbnail= image_tag(entry.thumbnail_image_url, itemprop: 'image' )

  - if entry.tags.present?
    .blog-entry-summary__entry-tags
      %p.blog-entry-summary__entry-label= t('workarea.storefront.blogs.tags')
      %ul.blog-entry-summary__entry-tags-list{ itemprop: 'keywords' }
        - entry.tags.each do |tag|
          %li.blog-entry-summary__entry-tags-list-item= link_to tag, blog_tagged_path(entry.blog, tag)

  .blog-entry-summary__content{ itemprop: 'description' }
    = entry.summary
    = link_to t('workarea.storefront.blogs.read_more'), blog_entry_path(entry)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-blog-3.4.9 app/views/workarea/storefront/blog_entries/_summary.html.haml
workarea-blog-3.4.8 app/views/workarea/storefront/blog_entries/_summary.html.haml
workarea-blog-3.4.7 app/views/workarea/storefront/blog_entries/_summary.html.haml