🔀 Merge pull request #778 from Jh123x/feat/use-meta-refresh

feat: use meta tag to redirect externalURLs
pull/803/head
James Panther 2024-01-22 09:17:59 +11:00 committed by GitHub
commit b2f82274ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -120,6 +120,9 @@
{{ with .Site.Params.verification.yandex }}
<meta name="yandex-verification" content="{{ . }}" />
{{ end }}
{{ with $.Params.externalUrl }}
<meta http-equiv="refresh" content="0; url={{ . }}" />
{{ end }}
{{/* Social */}}
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}