<%= @post.title %>
<%= link_user @post.author %> on <%= @post.created_at.strftime("%e. %b %Y") %>
<% if mod? %>
<%= link_to "edit", edit_blogpost_path(@post.id), class: "post-edit" %>
<% end %>
<%= Sanitize.clean(GitHub::Markdown.render_gfm(@post.content), Sanitize::Config::RELAXED).html_safe %>
<%= "#{pluralize(@post.comments.length, 'comment')}." %>
<% @post.comments.each do |c| %> <%= render "comments/comment", :c => c %> <% end %> <%= render "comments/new" %>