Compare commits

...

2 Commits

Author SHA1 Message Date
Wen Junhua 540443e710
Merge c514283044 into b21e8497e5 2024-01-21 00:05:44 +08:00
Wen Junhua c514283044 feat: use meta tag to redirect externalURLs 2024-01-14 01:39:06 +08:00
1 changed files with 4 additions and 0 deletions

View File

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