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

pull/30649/head
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
1 changed files with 4 additions and 0 deletions

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