mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-11-17 17:57:04 +01:00
layouts/partials/head-meta.html: Add site verification support
I had added Google Webmaster verify support but it got lost when I was re-organizing the head meta stuff. I'm adding it back now plus support for Bing and Yandex.
This commit is contained in:
parent
e79e2411a7
commit
7194b5926d
@ -38,4 +38,16 @@
|
||||
<meta property="twitter:title" content="{{ $title }}">
|
||||
<meta property="twitter:description" content="{{ $description }}">
|
||||
|
||||
{{ if .Site.Params.google_verify_meta }}
|
||||
<meta name="google-site-verification" content="{{ .Site.Params.google_verify_meta }}" />
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.bing_verify_meta }}
|
||||
<meta name="msvalidate.01" content="{{ .Site.Params.bing_verify_meta }}" />
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.yandex_verify_meta }}
|
||||
<meta name="yandex-verification" content="{{ .Site.Params.yandex_verify_meta }}" />
|
||||
{{ end }}
|
||||
|
||||
{{ .Hugo.Generator }}
|
||||
|
Loading…
Reference in New Issue
Block a user