Files
danbooru/app/views/comments/index.html.erb
evazion c36c0b9e7a views: refactor atom feed links.
* Fix comment & forum feeds to include search params.
* Remove global post feeds (only include post feeds on post index).
2020-01-26 19:16:38 -06:00

19 lines
489 B
Plaintext

<% meta_description "See comments on #{Danbooru.config.app_name}." %>
<% atom_feed_tag "Comments", comments_url(:atom, search: params.fetch(:search, {}).permit!) %>
<%= render "secondary_links" %>
<div id="c-comments">
<div id="a-index">
<h1>Comments</h1>
<%= render "posts/partials/common/inline_blacklist" %>
<% if params[:group_by] == "comment" %>
<%= render "index_by_comment" %>
<% else %>
<%= render "index_by_post" %>
<% end %>
</div>
</div>