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