- post = topic.posts.first %div{:id => topic.dom_id} .post .post_wrapper .speaker = standard_gravatar_for(post.reader, forum_topic_url(topic.forum, topic)) .post_header %h2 = link_to topic.name, forum_topic_url(topic.forum, topic) = feed_link(topic_path(topic, :format => :rss)) %p.context = render :partial => "topics/context", :locals => {:topic => topic} = render :partial => 'posts/edit_links', :locals => {:post => post} .post_body = truncate_and_textilize(post.body, 100) = render :partial => 'posts/attachments', :locals => {:post => post} - if topic.has_replies? .post_replies %p.voices = render :partial => 'topics/voices', :locals => {:topic => topic} %p.replies = render :partial => 'topics/replies', :locals => {:topic => topic}