Sha256: 4e529e4685722830622b4477fe01452bb61bb3ef2933b1af601ddd107432da90

Contents?: true

Size: 688 Bytes

Versions: 6

Compression:

Stored size: 688 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

6 entries across 6 versions & 1 rubygems

Version Path
blogit-1.0.0.rc1 app/views/blogit/posts/_post.html.erb
blogit-0.8.0 app/views/blogit/posts/_post.html.erb
blogit-0.7.0 app/views/blogit/posts/_post.html.erb
blogit-0.6.0 app/views/blogit/posts/_post.html.erb
blogit-0.5.1 app/views/blogit/posts/_post.html.erb
blogit-0.5.0 app/views/blogit/posts/_post.html.erb