From 9c69485b3a385c18be102874c7e7f676c627b67b Mon Sep 17 00:00:00 2001 From: Patrick Neff Date: Mon, 14 Jan 2019 15:35:45 +0100 Subject: [PATCH] JSON fix --- themes/neff/layouts/partials/schema/site.jsonld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/neff/layouts/partials/schema/site.jsonld b/themes/neff/layouts/partials/schema/site.jsonld index 25e8966..5c4d971 100755 --- a/themes/neff/layouts/partials/schema/site.jsonld +++ b/themes/neff/layouts/partials/schema/site.jsonld @@ -4,9 +4,9 @@ "@type": "WebSite", "@id": "{{ .ctx.Site.BaseURL }}", "url": "{{ .ctx.Site.BaseURL }}", - "name": "{{ .ctx.Site.Title }}", + "name": "{{ .ctx.Site.Title }}" {{ if (ne .short true) }} - "author": {{- range (first 1 (where .ctx.Site.Data.kontakt.kontakt ".address.addressLocality" "Niederkassel")) -}} + ,"author": {{- range (first 1 (where .ctx.Site.Data.kontakt.kontakt ".address.addressLocality" "Niederkassel")) -}} {{ partial "schema/organization.jsonld" (dict "org" . "ctx" $context "short" true) }} {{- end -}}, "copyrightHolder": {{- range (first 1 (where .ctx.Site.Data.kontakt.kontakt ".address.addressLocality" "Niederkassel")) -}}