1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-24 21:20:17 +01:00

Allow optional addition of Google Webmaster Tools verification string

Add to the site's configuration like so:

  [params]
  google_verify_meta = "BAi69DROASu2b2mkVNA_EyUsobfH7Mq8BmSg2Rn-Zp4"
This commit is contained in:
Alan Orth 2016-09-13 16:26:30 +03:00
parent 192d0bbee6
commit 2bb33145db
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -10,6 +10,8 @@
{{ if .Site.Params.description }}<meta name="description" content="{{ .Site.Params.description }}">{{ end }} {{ if .Site.Params.description }}<meta name="description" content="{{ .Site.Params.description }}">{{ end }}
{{ if .Site.Params.author }}<meta name="author" content="{{ .Site.Params.author }}">{{ end }} {{ if .Site.Params.author }}<meta name="author" content="{{ .Site.Params.author }}">{{ end }}
{{ if .Site.Params.google_verify_meta }}<meta name="google-site-verification" content="{{ .Site.Params.google_verify_meta }}">{{ end }}
{{ .Hugo.Generator }} {{ .Hugo.Generator }}
<base href="{{ .Site.BaseURL }}"> <base href="{{ .Site.BaseURL }}">