mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:06:57 +08:00
add posts.rss rel alternate
This commit is contained in:
parent
90eca69e0a
commit
9049f31456
|
@ -41,6 +41,7 @@
|
|||
|
||||
<% if @rss %>
|
||||
<% content_for :head do %>
|
||||
<%= auto_discovery_link_tag(:rss, "#{Discourse.base_url}/posts.rss", title: I18n.t("rss_description.posts")) %>
|
||||
<%= auto_discovery_link_tag(:rss, { action: "#{@rss}_feed" }, title: I18n.t("rss_description.#{@rss}")) %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue
Block a user