mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-19 09:02:18 +01:00
layouts: Remove a few more references to GooglePlus
The sharing icons were removed in 2019, but these remained.
This commit is contained in:
parent
1fdd332862
commit
32af219491
@ -14,9 +14,6 @@
|
|||||||
{{- if not .Date.IsZero }}
|
{{- if not .Date.IsZero }}
|
||||||
"dateModified": {{ .Date.Format $ISO8601 }},
|
"dateModified": {{ .Date.Format $ISO8601 }},
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Site.Social.GooglePlus }}
|
|
||||||
"publisher": "{{ printf "%s" . }}",
|
|
||||||
{{- end }}
|
|
||||||
{{- /* all of the site's categories/tags, from Hugo's tpl/template_embedded.go */}}
|
{{- /* all of the site's categories/tags, from Hugo's tpl/template_embedded.go */}}
|
||||||
"keywords": "{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}{{ printf "%s," $term }}{{ end }}{{ end }}"
|
"keywords": "{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}{{ printf "%s," $term }}{{ end }}{{ end }}"
|
||||||
{{- with .Site.Params.description -}}
|
{{- with .Site.Params.description -}}
|
||||||
|
@ -32,9 +32,6 @@
|
|||||||
{{- if not .Lastmod.IsZero }}
|
{{- if not .Lastmod.IsZero }}
|
||||||
"dateModified": {{ .Lastmod.Format $ISO8601 }},
|
"dateModified": {{ .Lastmod.Format $ISO8601 }},
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Site.Social.GooglePlus }}
|
|
||||||
"publisher": "{{ printf "%s" . }}",
|
|
||||||
{{- end }}
|
|
||||||
"author": {
|
"author": {
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"name": "{{ .Params.author | default .Site.Params.author }}"
|
"name": "{{ .Params.author | default .Site.Params.author }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user