Added baidu verification

Added ability to verify the site with baidu webmaster tool
This commit is contained in:
Giuseppe Pignataro 2019-03-24 09:50:47 +01:00
parent 2b9a93b917
commit ad4f56e8fe
2 changed files with 2 additions and 0 deletions

View file

@ -50,6 +50,7 @@ disqusShortname = "yourdiscussshortname"
bing_verification = ""
yandex_verification = ""
pinterest_verification = ""
baidu_verification = ""
socialShare = true

View file

@ -7,6 +7,7 @@
{{ with .Site.Params.bing_verification }}<meta name="msvalidate.01" content="{{ . }}" />{{end}}
{{ with .Site.Params.yandex_verification }}<meta name="yandex-verification" content="{{ . }}" />{{ end }}
{{ with .Site.Params.pinterest_verification }}<meta name="p:domain_verify" content="{{ . }}"/>{{ end }}
{{ with .Site.Params.baidu_verification }}<meta name=”baidu-site-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 }}" />