Sha256: f3bbfe849543d457c216232afbf204bef698cbf4f42131fdc00d46d02447b5ac
Contents?: true
Size: 1.2 KB
Versions: 2
Compression:
Stored size: 1.2 KB
Contents
= render_schema_org(blog_posting_schema(entry)) %article.blog-entry-summary__entry{ class: entry.featured ? 'blog-entry-summary__entry--featured' : '', data: { pagination_item: '' } } %heading %h2.blog-entry-summary__entry-title = link_to entry.name, blog_entry_path(entry) %p.blog-entry-summary__entry-author %span= entry.author %p.blog-entry-summary__entry-datetime = local_time(entry.written_at, format: :long) %p.blog-entry-summary__entry-comment-count= link_to t('workarea.storefront.blogs.comments', count: entry.comment_count), blog_entry_path(entry, anchor: 'blog-entry-comments') - if entry.has_thumbnail_image? %p.blog-entry-summary__entry-thumbnail= image_tag(entry.thumbnail_image_url) - 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 - entry.tags.each do |tag| %li.blog-entry-summary__entry-tags-list-item= link_to tag, blog_tagged_path(@blog, tag) .blog-entry-summary__content = entry.summary = link_to t('workarea.storefront.blogs.read_more'), blog_entry_path(entry), class: 'blog-entry-summary__read-more-link'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
workarea-one_theme-1.3.1 | app/views/workarea/storefront/blog_entries/_summary.html.haml |
workarea-one_theme-1.3.0 | app/views/workarea/storefront/blog_entries/_summary.html.haml |