.rails_blog_engine_post %h1 = link_to_unless_current(post.title, post_permalink_path(post)) = render(:partial => 'rails_blog_engine/posts/tools', :locals => { :post => post }) %p.byline Posted = distance_of_time_in_words_to_now(post.published_at) ago by = post.author_byline %div.body~ markdown(post.body, :trusted? => true) - if current_page?(post_permalink_path(post)) = render(:partial => 'rails_blog_engine/posts/comments_section', :locals => { :post => post, :comments => @comments, :comment => @comment }) - else %p.links = link_to_comments_section(post)