Sha256: e2407d474d031662e7b69e9b9a17edac15077721560cdb3aea058f119cc9dff6

Contents?: true

Size: 696 Bytes

Versions: 25

Compression:

Stored size: 696 Bytes

Contents

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

  <%# Render the header for this blog post %>
  <%= render "blogit/posts/post_head", post: post %>

  <%# Render the body of this blog post (as Markdown) %>
  <%= render "blogit/posts/post_body", post: post %>
  
  <%# Render admin links to edit/delete this post %>
  <%= render "blogit/posts/post_links", post: post %>
  
  <%# Render info about the person who wrote this post %>
  <%= render "blogit/posts/blogger_information", post: post %>
  
  <%# 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

25 entries across 25 versions & 1 rubygems

Version Path
blogit-0.0.8 app/views/blogit/posts/_post.html.erb
blogit-0.0.7 app/views/blogit/posts/_post.html.erb
blogit-0.0.6 app/views/blogit/posts/_post.html.erb
blogit-0.0.5 app/views/blogit/posts/_post.html.erb
blogit-0.0.4 app/views/blogit/posts/_post.html.erb