0
0
Fork 0

Add rel alternate rss/json links to tags show html page (#33179)

This commit is contained in:
Matt Jankowski 2024-12-05 06:34:49 -05:00 committed by GitHub
parent 21f6780498
commit 86b45a4a48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 25 additions and 0 deletions

View file

@ -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'