Sha256: a2bbae2b187e11ebb90906b63d31a05177c720a3d050b9c3e8d2e8bb32dd64ac

Contents?: true

Size: 782 Bytes

Versions: 16

Compression:

Stored size: 782 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
        = "#{l(post.created_at)} | #{Cmor::Blog::Configuration.creator_label_for_post_proc.call(post)}"
      - 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

16 entries across 8 versions & 1 rubygems

Version Path
cmor_blog-0.0.54.pre app/views/cmor/blog/posts/_post_in_index.html.haml
cmor_blog-0.0.54.pre app/views/cmor/blog/application_view_helper/_render_post.html.haml
cmor_blog-0.0.53.pre app/views/cmor/blog/posts/_post_in_index.html.haml
cmor_blog-0.0.53.pre app/views/cmor/blog/application_view_helper/_render_post.html.haml
cmor_blog-0.0.52.pre app/views/cmor/blog/application_view_helper/_render_post.html.haml
cmor_blog-0.0.52.pre app/views/cmor/blog/posts/_post_in_index.html.haml
cmor_blog-0.0.51.pre app/views/cmor/blog/application_view_helper/_render_post.html.haml
cmor_blog-0.0.51.pre app/views/cmor/blog/posts/_post_in_index.html.haml
cmor_blog-0.0.50.pre app/views/cmor/blog/application_view_helper/_render_post.html.haml
cmor_blog-0.0.50.pre app/views/cmor/blog/posts/_post_in_index.html.haml
cmor_blog-0.0.49.pre app/views/cmor/blog/application_view_helper/_render_post.html.haml
cmor_blog-0.0.49.pre app/views/cmor/blog/posts/_post_in_index.html.haml
cmor_blog-0.0.48.pre app/views/cmor/blog/posts/_post_in_index.html.haml
cmor_blog-0.0.48.pre app/views/cmor/blog/application_view_helper/_render_post.html.haml
cmor_blog-0.0.45.pre app/views/cmor/blog/application_view_helper/_render_post.html.haml
cmor_blog-0.0.45.pre app/views/cmor/blog/posts/_post_in_index.html.haml