add google siteverification tag in head

to use this, add below code to config file
    analytics:
        google:
            SiteVerificationTag: "XYZabc"
This commit is contained in:
Aditya Telange 2020-08-20 22:12:53 +05:30
parent cd39b9d055
commit d75f9c27f6
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -11,6 +11,9 @@
<meta name="description" content="{{ .Site.Params.description }}">
<meta name="author" content="{{ .Site.Params.author }}">
{{- end }}
{{ if .Site.Params.analytics.google.SiteVerificationTag }}
<meta name="google-site-verification" content="{{ .Site.Params.analytics.google.SiteVerificationTag }}" />
{{end}}
<!-- Styles -->
{{ $anoldhope := resources.Get "css/an-old-hope.min.css" | minify }}
{{ $theme := resources.Get "css/theme-vars.css" | minify }}