<% topic_url = Discourse.base_url + @topic_view.relative_url %> <% lang = SiteSetting.find_by_name('default_locale').try(:value) %> <%= @topic_view.title %> <%= topic_url %> <%= @topic_view.posts.first.raw %> <% if lang %> <%= lang %> <% end %> <%= @topic_view.topic.created_at.rfc2822 %> <%= @topic_view.topic.category.name %> <% @topic_view.recent_posts.each do |post| %> <% next unless post.user %> <%= @topic_view.title %> at <%= post.created_at %> <%= "@#{post.user.username} (#{post.user.name})" -%>

<%= t('author_wrote', author: link_to(post.user.name, post.user)).html_safe %>

<%= post.cooked.html_safe %>

<%= link_to t('read_full_topic'), post_url %>

]]>
<%= post_url %> <%= post.created_at.rfc2822 %> <%= post_url %> <%= @topic_view.title %>
<% end %>