<% title "#{@post.title}" %> <%= link_to "News", blogposts_path %> → <%= link_to @post.title %>

<%= truncate(@post.title, length: 60, omission: " …") %>

<%= link_to(@post.author.avatar(64), @post.author, title: @post.author.ign) %> <%= render partial: "users/username", locals: { user: @post.author } %> <%= link_to p do %><% end %> <%= link_to "edit", edit_blogpost_path(@post.id), class: "editlink" if mod? %>
<%= render_md(@post.content).html_safe %>

<%= "#{pluralize(@post.comments.length, 'comment')}." %>

<% @post.comments.each do |c| %> <%= render "comments/comment", c: c %> <% end %> <%= render "comments/new" %>