json-schema: add @id element

This commit is contained in:
Aditya Telange
2020-10-15 09:41:17 +05:30
parent 67dc6ee3c4
commit 2daa61ea43

View File

@@ -48,7 +48,8 @@
"name": {{ .Params.author | default .Site.Params.author }}
},
"mainEntityOfPage": {
"@type": "WebPage"
"@type": "WebPage",
"@id": {{ .Permalink | safeHTML }}
},
"publisher": {
"@type": "{{- ( .Site.Params.schema.publisherType | default "Organization") | humanize -}}",