more seo cleanup
This commit is contained in:
parent
f8c1b54ccb
commit
fd90dd5ee8
1 changed files with 8 additions and 4 deletions
|
@ -88,7 +88,7 @@
|
|||
"author": {
|
||||
"@type": "Person",
|
||||
"name": {{ or .Params.author .Site.Params.author }},
|
||||
"url": {{ .Site.Home.Permalink }}
|
||||
"url": {{ .Site.BaseURL }}
|
||||
},
|
||||
"datePublished": {{ .Date.UTC.Format "2006-01-02T03:04:05Z" }},
|
||||
"description": {{ or .Description .Summary }},
|
||||
|
@ -100,8 +100,9 @@
|
|||
"url": {{ with or $cover $icon }}{{ .Permalink | absURL }}{{ end }}
|
||||
},
|
||||
"publisher": {
|
||||
"@type": "Person",
|
||||
"name": {{ or .Params.author .Site.Params.author .Site.Title }},
|
||||
"@type": "WebSite",
|
||||
"name": {{ .Site.Title }},
|
||||
"url": {{ .Site.BaseURL }},
|
||||
"logo": {
|
||||
"@type": "ImageObject",
|
||||
"url": {{with $icon}}{{.Permalink}}{{else}}{{$staticIcon}}{{end}}
|
||||
|
@ -137,6 +138,9 @@
|
|||
<link rel="sitemap" type="application/xml" title="Sitemap" href="{{ .Site.BaseURL }}sitemap.xml" />
|
||||
{{ with .OutputFormats.Get "RSS" -}}
|
||||
<link href="{{ .Permalink }}" rel="feed alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{/* robots */}}
|
||||
{{- "<!-- robots -->" | safeHTML }}
|
||||
<meta name="robots" content="index,follow" />
|
||||
<meta name="googlebot" content="index,follow" />
|
Loading…
Reference in a new issue