Added bing and yandex verification

Added ability to verify the site with bing and yandex webmaster tool
This commit is contained in:
Giuseppe Pignataro 2019-03-24 09:29:35 +01:00
parent bb32cc7bbf
commit b6a4d09f3c
2 changed files with 4 additions and 0 deletions

View file

@ -47,6 +47,8 @@ disqusShortname = "yourdiscussshortname"
home_mode = "" # post or other
google_verification = ""
bing_verification = ""
yandex_verification = ""
socialShare = true

View file

@ -4,6 +4,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noodp"/>
{{ with .Site.Params.google_verification }}<meta name="google-site-verification" content="{{ . }}" />{{ end }}
{{ with .Site.Params.bing_verification }}<meta name="msvalidate.01" content="{{ . }}" />{{end}}
{{ with .Site.Params.yandex_verification }}<meta name="yandex-verification" content="{{ . }}" />{{ end }}
{{ if .PrevInSection }}<link rel="prev" href="{{.PrevInSection.Permalink}}" />{{end}}
{{ if .NextInSection}}<link rel="next" href="{{ .NextInSection.Permalink }}" />{{end}}
<link rel="canonical" href="{{ .Permalink }}" />