Fixing non valid json ld (should never do json by hand).

This commit is contained in:
Fredrik Jonsson 2019-06-11 14:47:15 +02:00
commit 6c5af25cf5
2 changed files with 4 additions and 4 deletions

View file

@ -23,13 +23,13 @@
"publisher": { "publisher": {
"@type": "Organization", "@type": "Organization",
"name": {{ .Site.Title }}, "name": {{ .Site.Title }},
"url": {{ .Site.BaseURL }},
{{ with $.Param "icon" -}} {{ with $.Param "icon" -}}
"logo" : { "logo" : {
"@type": "ImageObject", "@type": "ImageObject",
"url": {{ . | absURL }} "url": {{ . | absURL }}
} },
{{ end -}} {{ end -}}
"url": {{ .Site.BaseURL }}
} }
} }
</script> </script>

View file

@ -26,13 +26,13 @@
"publisher": { "publisher": {
"@type": "Organization", "@type": "Organization",
"name": {{ .Site.Title }}, "name": {{ .Site.Title }},
"url": {{ .Site.BaseURL }},
{{ with $.Param "icon" -}} {{ with $.Param "icon" -}}
"logo" : { "logo" : {
"@type": "ImageObject", "@type": "ImageObject",
"url": {{ . | absURL }} "url": {{ . | absURL }}
} },
{{ end -}} {{ end -}}
"url": {{ .Site.BaseURL }}
} }
} }
</script> </script>