1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-20 21:21:16 -04:00

fix JSON schema @id

This commit is contained in:
2021-05-16 10:36:17 -04:00
parent 4a13d0d374
commit b182ed86d2
2 changed files with 2 additions and 2 deletions

View File

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

View File

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