mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-18 02:07:05 +01:00
Alan Orth
c6498a4bfb
The Hugo internal Twitter and OpenGraph templates assume your post images are in the static directory. This tries to look them up in the page bundle first and falls back to the Hugo default behavior.
22 lines
574 B
HTML
22 lines
574 B
HTML
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
{{ partial "opengraph.html" . }}
|
|
{{ partial "twitter_cards.html" . }}
|
|
|
|
{{- with .Site.Params.google_verify_meta -}}
|
|
<meta name="google-site-verification" content="{{ . }}" />
|
|
{{ end }}
|
|
|
|
{{- with .Site.Params.bing_verify_meta -}}
|
|
<meta name="msvalidate.01" content="{{ . }}" />
|
|
{{ end }}
|
|
|
|
{{- with .Site.Params.yandex_verify_meta -}}
|
|
<meta name="yandex-verification" content="{{ . }}" />
|
|
{{ end }}
|
|
|
|
{{- .Site.Hugo.Generator -}}
|
|
|
|
{{- /* vim: set ts=2 sw=2 et: */}}
|