about summary refs log tree commit diff
path: root/app/views/tags/show.html.haml
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2018-05-10 21:38:19 +0900
committerEugen Rochko <eugen@zeonfederated.com>2018-05-10 14:38:19 +0200
commit0a7e8320b22412e8a45545026fafe1be1d6b9051 (patch)
tree2f227382fb6d4576096b1beaddde0009ed36bd8c /app/views/tags/show.html.haml
parent6588f6a0a9118e6feb2f23d82655b2435c6cbbca (diff)
Add alternate for RSS (#7436)
Diffstat (limited to 'app/views/tags/show.html.haml')
-rw-r--r--app/views/tags/show.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/tags/show.html.haml b/app/views/tags/show.html.haml
index d46f35999..f6e452f18 100644
--- a/app/views/tags/show.html.haml
+++ b/app/views/tags/show.html.haml
@@ -2,6 +2,8 @@
   = "##{@tag.name}"
 
 - content_for :header_tags do
+  %link{ rel: 'alternate', type: 'application/rss+xml', href: tag_url(@tag, format: 'rss') }/
+
   %script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json)
   = javascript_pack_tag 'about', integrity: true, crossorigin: 'anonymous'
   = render 'og'