<% @breadcrumbs.each_with_index do |c, i| %>
<%= c[:name] %>
<% end %>
<% end %>
<% if @tags.present? %>
<% @tags.each_with_index do |tag, i| %>
<%= tag.name -%><% if i < @tags.size - 1 %>, <% end %>
<% end %>
<% end %>
<%= server_plugin_outlet "topic_header" %>
<%- if include_crawler_content? %>
<% if @topic_view.topic.category.present? %>
<% end %>
'>
<% if application_logo_url.present? %>
<% end %>
<% if @topic_view.crawler_posts&.first && !@topic_view.crawler_posts.first.is_first_post? %>
<% if @topic_view.topic.user.present? %>
<% end %>
<% end %>
<% @topic_view.crawler_posts.each do |post| %>
<% if (u = post.user) && !post.hidden && post.cooked && !post.cooked.strip.empty? %>
class='topic-body crawler-post'>
<%= u.username %>
<%= "(#{u.name})" if (SiteSetting.display_name_on_posts && SiteSetting.enable_names? && !u.name.blank?) %>
<%
post_custom_fields = @topic_view.post_custom_fields[post.id] || {}
who_username = post_custom_fields["action_code_who"] || ""
small_action_href = post_custom_fields["action_code_path"] || ""
if post.action_code
%>
<%= t("js.action_codes.#{post.action_code}", when: "", who: who_username, href: small_action_href).html_safe %>
<% end %>
<% if post.is_first_post? %>
<% end %>
<% if post.image_url %>
<% end %>
<% if post.version > 1 %>
<% else %>
<% end %>
<%= post.post_number %>