Sha256: d09d2bfdc7039685c99cebde76db7332d63cf6e61aee8d9952100fdcd7e0645c

Contents?: true

Size: 768 Bytes

Versions: 6

Compression:

Stored size: 768 Bytes

Contents

%div{ id: dom_id(post), class: "row #{dom_class(post)} bottom-margin-5 mb-4" }
  .col-lg-12
    %h2.post-title
      = link_to(post.title, cmor_blog.url_for(post))
    %small
      %span.post-creation-information.text-muted
        = instance_exec(post, &Cmor::Blog::Configuration.post_creation_information_proc)

      - if Cmor::Core.features?(:cmor_comments)
        |
        %span.comments-information
          = link_to(t('cmor.comments.commentable.comments_information', comments_count: post.comments.count), cmor_blog.post_url(post, anchor: 'comments'))
      - if Cmor::Core.features?(:cmor_tags)
        |
        %span.post-tags
          = tags_helper(self).render_tags_for(post)

    .post-body.truncate-lines-3
      = post.body(format: :html).html_safe

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cmor_blog-0.0.60.pre app/views/cmor/blog/posts/_post_in_index.html.haml
cmor_blog-0.0.59.pre app/views/cmor/blog/posts/_post_in_index.html.haml
cmor_blog-0.0.58.pre app/views/cmor/blog/posts/_post_in_index.html.haml
cmor_blog-0.0.57.pre app/views/cmor/blog/posts/_post_in_index.html.haml
cmor_blog-0.0.56.pre app/views/cmor/blog/posts/_post_in_index.html.haml
cmor_blog-0.0.55.pre app/views/cmor/blog/posts/_post_in_index.html.haml