• Posts
  • <% if @post_set.has_artist? %>
  • <%= link_to "Artist", artist_path(@post_set.artist), :id => "show-excerpt-link" %>
  • <% elsif @post_set.has_wiki? %>
  • <%= link_to "Wiki", wiki_page_path(@post_set.wiki_page), :id => "show-excerpt-link" %>
  • <% elsif @post_set.has_pool? %>
  • <%= link_to "Pool", pool_path(@post_set.pool), :id => "show-excerpt-link" %>
  • <% elsif @post_set.has_favgroup? %>
  • <%= link_to "Favorite Group", favorite_group_path(@post_set.favgroup), :id => "show-excerpt-link" %>
  • <% elsif @post_set.has_blank_wiki? %>
  • <%= link_to "Wiki", new_wiki_page_path(wiki_page: { title: @post_set.tag_string }), id: "show-excerpt-link" %>
  • <% end %>
    <%= render "posts/partials/index/edit" %> <%= render "posts/partials/index/excerpt", :post_set => @post_set %> <%= render "posts/partials/index/posts", :post_set => @post_set %>
    <%= post_search_count_js %>
    <%= render "saved_searches/interface" %>
    <% if params[:tags] =~ /search:/ %> <%= render "saved_searches/secondary_links" %> <% else %> <%= render "posts/partials/common/secondary_links" %> <% end %> <% content_for(:page_title) do %> <% if @post_set.tag_string.present? %> <%= @post_set.humanized_tag_string %> - <%= Danbooru.config.app_name %> <% else %> <%= Danbooru.config.app_name %> <% end %> <% end %> <%= content_for(:html_header) do %> <%= content_tag(:link, nil, rel: "prefetch", href: next_page_url, as: "html", crossorigin: "use-credentials") %> <%= content_tag :link, nil, rel: "next", href: next_page_url %> <% if prev_page_url %> <%= content_tag :link, nil, rel: "prev", href: prev_page_url %> <% end %> <% if @post_set.has_wiki? %> <% else %> <% end %> <%= missed_post_search_count_js %> <% if @post_set.hide_from_crawler? %> <% end %> <% end %>