diff --git a/layouts/partials/seo.html b/layouts/partials/seo.html index e465d91..bfd63f9 100644 --- a/layouts/partials/seo.html +++ b/layouts/partials/seo.html @@ -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 @@ {{ with .OutputFormats.Get "RSS" -}} -{{- end }} +{{- end -}} + +{{/* robots */}} +{{- "" | safeHTML }} \ No newline at end of file