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

@@ -11,7 +11,6 @@
<% if CurrentUser.user.blacklisted_tags.present? %>
<meta name="blacklisted-tags" content="<%= CurrentUser.user.blacklisted_tags.gsub(/(?:\r|\n)+/, ",") %>">
<% end %>
<%= auto_discovery_link_tag :atom, posts_path(:format => "atom", :tags => params[:tags]) %>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<%= javascript_pack_tag "application" %>
<%= stylesheet_pack_tag "application" %>