mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 16:21:19 -04:00
fix JSON schema @id
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
"description": {{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }},
|
"description": {{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }},
|
||||||
"wordCount": "{{ .WordCount }}",
|
"wordCount": "{{ .WordCount }}",
|
||||||
"author": {
|
"author": {
|
||||||
"@id": {{ path.Join .Site.BaseURL "#author" }}
|
"@id": {{ print (absURL "/") "#author" }}
|
||||||
},
|
},
|
||||||
"publisher": {
|
"publisher": {
|
||||||
"@type": "Organization",
|
"@type": "Organization",
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
"@context": "http://schema.org",
|
"@context": "http://schema.org",
|
||||||
"@type": "Person",
|
"@type": "Person",
|
||||||
"@id": {{ path.Join $.Site.BaseURL "#author" }},
|
"@id": {{ print (absURL "/") "#author" }},
|
||||||
"name": {{ .name }},
|
"name": {{ .name }},
|
||||||
"url": {{ $.Site.BaseURL }},
|
"url": {{ $.Site.BaseURL }},
|
||||||
"description": {{ $.Site.Params.description }},{{ with $.Scratch.Get "authorImage" }}
|
"description": {{ $.Site.Params.description }},{{ with $.Scratch.Get "authorImage" }}
|
||||||
|
Reference in New Issue
Block a user