more seo cleanup

This commit is contained in:
a 2024-02-26 10:57:59 -06:00
parent f8c1b54ccb
commit fd90dd5ee8

View file

@ -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" />