diff --git a/layouts/partials/head/schema/article.html b/layouts/partials/head/schema/article.html index f4b9a1b5..3536a0f8 100644 --- a/layouts/partials/head/schema/article.html +++ b/layouts/partials/head/schema/article.html @@ -12,7 +12,7 @@ "description": {{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}, "wordCount": "{{ .WordCount }}", "author": { - "@id": {{ path.Join .Site.BaseURL "#author" }} + "@id": {{ print (absURL "/") "#author" }} }, "publisher": { "@type": "Organization", diff --git a/layouts/partials/head/schema/person.html b/layouts/partials/head/schema/person.html index fee38a90..1d28aef6 100644 --- a/layouts/partials/head/schema/person.html +++ b/layouts/partials/head/schema/person.html @@ -3,7 +3,7 @@ { "@context": "http://schema.org", "@type": "Person", - "@id": {{ path.Join $.Site.BaseURL "#author" }}, + "@id": {{ print (absURL "/") "#author" }}, "name": {{ .name }}, "url": {{ $.Site.BaseURL }}, "description": {{ $.Site.Params.description }},{{ with $.Scratch.Get "authorImage" }}