Fix json_ld output by removing quotes around params. Only hardcoded values neeed quotes.
This commit is contained in:
parent
3e996bde7f
commit
69b7a0bf75
1 changed files with 8 additions and 8 deletions
|
|
@ -3,9 +3,9 @@
|
|||
"@context": "http://schema.org",
|
||||
"@type": "WebSite",
|
||||
"url" : {{ .Permalink }},
|
||||
"name": "{{ .Title }}",
|
||||
"name": {{ .Title }},
|
||||
{{ with $.Param "description" -}}
|
||||
"description": "{{ . }}",
|
||||
"description": {{ . }},
|
||||
{{ end -}}
|
||||
{{ with $.Param "image" -}}
|
||||
"image" : {{ . | absURL }},
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
{{ with $.Param "author" -}}
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "{{ . }}"
|
||||
"name": {{ . }}
|
||||
},
|
||||
{{ end -}}
|
||||
"mainEntityOfPage": {
|
||||
|
|
@ -22,7 +22,7 @@
|
|||
},
|
||||
"publisher": {
|
||||
"@type": "Organization",
|
||||
"name": "{{ .Site.Title }}",
|
||||
"name": {{ .Site.Title }},
|
||||
"url": {{ .Site.BaseURL }}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue