diff options
author | Giuseppe Pignataro <rogepix@gmail.com> | 2019-03-24 11:29:35 +0300 |
---|---|---|
committer | Giuseppe Pignataro <rogepix@gmail.com> | 2019-03-24 11:29:35 +0300 |
commit | b6a4d09f3cae97a244ca876914ce5f3f75e5e404 (patch) | |
tree | a6ff55cd0d7b9ad3bd24cafb7328693ce598de02 | |
parent | bb32cc7bbf754ba08303629fce06722572172443 (diff) |
Added bing and yandex verification
Added ability to verify the site with bing and yandex webmaster tool
-rw-r--r-- | exampleSite/config.toml | 2 | ||||
-rw-r--r-- | layouts/partials/head.html | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 3affbcb..a542506 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -47,6 +47,8 @@ disqusShortname = "yourdiscussshortname" home_mode = "" # post or other google_verification = "" + bing_verification = "" + yandex_verification = "" socialShare = true diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d71254d..caebb4b 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -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 }}" /> |