Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Fastbyte01/KeepIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Pignataro <rogepix@gmail.com>2019-03-24 11:50:47 +0300
committerGiuseppe Pignataro <rogepix@gmail.com>2019-03-24 11:50:47 +0300
commitad4f56e8fe50a09b0ba2879d8ba6ca28eaf6a69b (patch)
tree61b5151c6c868da53da98cd55f9f8cefc8496715
parent2b9a93b91737792ff5dd5a0c77fca04604f9d3e7 (diff)
Added baidu verification
Added ability to verify the site with baidu webmaster tool
-rw-r--r--exampleSite/config.toml1
-rw-r--r--layouts/partials/head.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 93f3e49..a08a736 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -50,6 +50,7 @@ disqusShortname = "yourdiscussshortname"
bing_verification = ""
yandex_verification = ""
pinterest_verification = ""
+ baidu_verification = ""
socialShare = true
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 8ec0cc7..12de83e 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -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 }}" />