Remove references to Google+

According to google, this is no longer supported and structured data should be used instead: https://support.google.com/webmasters/answer/6083347?hl=en
This commit is contained in:
Bruno Amaral
2019-05-26 18:24:46 +01:00
committed by Bjørn Erik Pedersen
parent 811ee996a6
commit d1cf53f5f4
5 changed files with 3 additions and 7 deletions

View File

@@ -269,7 +269,7 @@ if (!doNotTrack) {
{{ end }}
</ul>
{{ end }}`},
{`schema.html`, `{{ with .Site.Social.GooglePlus }}<link rel="publisher" href="{{ . }}"/>{{ end }}
{`schema.html`, `
<meta itemprop="name" content="{{ .Title }}">
<meta itemprop="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}">

View File

@@ -1,4 +1,3 @@
{{ with .Site.Social.GooglePlus }}<link rel="publisher" href="{{ . }}"/>{{ end }}
<meta itemprop="name" content="{{ .Title }}">
<meta itemprop="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}">