Sha256: b8d57c9766fe6c2aa613c868eea2b08d733f9dd3545d2118a8ed2a18739f7552
Contents?: true
Size: 961 Bytes
Versions: 6
Compression:
Stored size: 961 Bytes
Contents
%div{ id: dom_id(post), class: "row #{dom_class(post)} bottom-margin-5 mb-4" } .col-lg-4 .post-preview-picture = image_tag(main_app.url_for(post.preview_picture.asset.variant(Cmor::Blog::Configuration.preview_picture_asset_variant_options)), class: 'img-fluid') .col-lg-8 %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