Sha256: 116eb2acfa3669d4229b1e28375209dea0f35b9653df4ecdd7bd34e35b9ccf21

Contents?: true

Size: 543 Bytes

Versions: 3

Compression:

Stored size: 543 Bytes

Contents

<%= content_tag(:article, id: "blogit_post_#{post.id}", 
  class: "blogit_post blog_post--is_preview") do %>

  <%# Render the header for this blog post %>
  <%= render "blogit/posts/post_head", post: post %>
  
  <%= render "blogit/posts/blogger_information", post: post %>
  
  <%# Render the body of this blog post (as Markdown) %>
  <%= format_content(post.short_body) %>

  <%# Render the no. of comments %>
  <%= render "blogit/posts/comments_count",
    post: post if defined?(show_comments_count) and show_comments_count %>

<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blogit-1.1.2 app/views/blogit/posts/_post.html.erb
blogit-1.1.1 app/views/blogit/posts/_post.html.erb
blogit-1.1.0 app/views/blogit/posts/_post.html.erb