views: refactor atom feed links.

* Fix comment & forum feeds to include search params.
* Remove global post feeds (only include post feeds on post index).
This commit is contained in:
evazion
2020-01-26 16:54:34 -06:00
parent 815703a922
commit c36c0b9e7a
11 changed files with 21 additions and 20 deletions

View File

@@ -1,5 +1,3 @@
<% meta_description "See comments on #{Danbooru.config.app_name}." %>
<div id="p-index-by-post">
<% if !CurrentUser.user.is_builder? %>
<div style="margin-bottom: 1em;">
@@ -24,5 +22,3 @@
</div>
<%= numbered_paginator(@posts) %>
<% content_for(:html_header, auto_discovery_link_tag(:atom, comments_url(:atom, search: { do_not_bump_post: true }), title: "Comments")) %>