Add meta tag for yandex site verification (#187)

usage in site config =>
params:  
  analytics:
    yandex:
      SiteVerificationTag: xxxxxxxxxxxxxxxx
This commit is contained in:
Muhammad Hanif 2021-01-23 17:19:51 +07:00 committed by GitHub
parent 2c67ae9877
commit fc28fa7493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,9 @@
{{- if .Site.Params.analytics.google.SiteVerificationTag }}
<meta name="google-site-verification" content="{{ .Site.Params.analytics.google.SiteVerificationTag }}" />
{{- end}}
{{- if .Site.Params.analytics.yandex.SiteVerificationTag }}
<meta name="yandex-verification" content="{{ .Site.Params.analytics.yandex.SiteVerificationTag }}" />
{{- end}}
<!-- Styles -->
{{- $common := (resources.Match "css/*.css") | resources.Concat "assets/css/common.css" }}
{{- $extended := (resources.Match "css/extended/*.css") | resources.Concat "assets/css/extended.css" }}