diff --git a/layouts/partials/section_json_ld.html b/layouts/partials/section_json_ld.html
index c7a9a07..236b3a0 100644
--- a/layouts/partials/section_json_ld.html
+++ b/layouts/partials/section_json_ld.html
@@ -23,13 +23,13 @@
"publisher": {
"@type": "Organization",
"name": {{ .Site.Title }},
- "url": {{ .Site.BaseURL }},
{{ with $.Param "icon" -}}
"logo" : {
"@type": "ImageObject",
"url": {{ . | absURL }}
- }
+ },
{{ end -}}
+ "url": {{ .Site.BaseURL }}
}
}
diff --git a/layouts/partials/single_json_ld.html b/layouts/partials/single_json_ld.html
index 12e3665..e1fa49f 100644
--- a/layouts/partials/single_json_ld.html
+++ b/layouts/partials/single_json_ld.html
@@ -26,13 +26,13 @@
"publisher": {
"@type": "Organization",
"name": {{ .Site.Title }},
- "url": {{ .Site.BaseURL }},
{{ with $.Param "icon" -}}
"logo" : {
"@type": "ImageObject",
"url": {{ . | absURL }}
- }
+ },
{{ end -}}
+ "url": {{ .Site.BaseURL }}
}
}