mirror of https://github.com/jpanther/congo.git
feat: use meta tag to redirect externalURLs
parent
c8f648d5c2
commit
c514283044
|
@ -120,6 +120,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" . }}
|
||||||
|
|
Loading…
Reference in New Issue