Add rel alternate rss/json links to tags show html page (#33179)
This commit is contained in:
parent
21f6780498
commit
86b45a4a48
2 changed files with 25 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
- content_for :header_tags do
|
||||
%link{ rel: :alternate, type: 'application/rss+xml', href: tag_url(@tag) }/
|
||||
%link{ rel: :alternate, type: 'application/activity+json', href: tag_url(@tag) }/
|
||||
%meta{ name: 'robots', content: 'noindex' }/
|
||||
= render partial: 'shared/og'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue