<%= link_to @thread.forum.group, forumgroup_path(@thread.forum.group) %> → <%= link_to @thread.forum, @thread.forum %> → <%= link_to @thread %>
<%= link_to(image_tag(@thread.author.avatar_url(64), class: "avatar"), @thread.author, title: @thread.author.ign) %>
<%= render partial: "users/username", locals: { user: @thread.author } %> <%= link_to "edit", edit_forumthread_path( @thread), class: "editlink" if mod? %>

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

<%= Sanitize.clean(GitHub::Markdown.render_gfm(@thread.content), Sanitize::Config::RELAXED).html_safe %>

<%= "#{pluralize(@thread.replies.length, 'reply')}." %>

<% @thread.replies.each do |c| %> Reply<%# render "threadreplies/reply", :c => c %> <% end %> <% unless @thread.can_read?(current_user) %> new <%# render "threadreplies/new" %> <% end %>