1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Add noindex meta tag and rel=canonical link to redirect interstitials (#30651)

This commit is contained in:
Claire 2024-06-11 17:29:45 +02:00 committed by GitHub
parent 978601a0ae
commit 921b0db544
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,3 +1,7 @@
- content_for :header_tags do
%meta{ name: 'robots', content: 'noindex, noarchive' }/
%link{ rel: 'canonical', href: @redirect_path }
.redirect
.redirect__logo
= link_to render_logo, root_path