<% topic_url = @topic_view.absolute_url %> <% lang = SiteSetting.find_by_name('default_locale').try(:value) %> <% site_email = SiteSetting.find_by_name('contact_email').try(:value) %> <%= @topic_view.title %> <%= topic_url %> <%= @topic_view.posts.first.raw %> <% if lang %><%= lang.sub('_', '-')%><% end %> <%= @topic_view.topic.bumped_at.rfc2822 %> <%= @topic_view.topic.category.name %> <% @topic_view.recent_posts.each do |post| %> <% next unless post.user %> <%= @topic_view.title %> ]]> <% if post.hidden %> <%= t('flagging.user_must_edit').html_safe %> <% else %> <%= PrettyText.format_for_email(post.cooked, post).html_safe %> <% end %>

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

]]>
<%= post_url %> <%= post.created_at.rfc2822 %> <%= Discourse.current_hostname %>-post-<%= post.topic_id %>-<%= post.post_number %> <%= @topic_view.title %>
<% end %>