1
0
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:
Alan Orth 2016-10-08 16:57:10 +03:00
parent e79e2411a7
commit 7194b5926d
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -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 }}