From d4c9ed77e3c85020400c3a644b2ea43809ea2556 Mon Sep 17 00:00:00 2001 From: Patrick Neff Date: Mon, 14 Jan 2019 15:51:41 +0100 Subject: [PATCH] Update jsonld --- themes/neff/layouts/partials/schema/image.jsonld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/neff/layouts/partials/schema/image.jsonld b/themes/neff/layouts/partials/schema/image.jsonld index 4d7f1b1..ddb4d32 100755 --- a/themes/neff/layouts/partials/schema/image.jsonld +++ b/themes/neff/layouts/partials/schema/image.jsonld @@ -1,6 +1,6 @@ { "@context": "http://schema.org", "@type": "ImageObject", - "@id": "{{ path.Join .ctx.Site.BaseURL .url }}", - "url": "{{ path.Join .ctx.Site.BaseURL .url }}" + "@id": {{ delimit (slice .ctx.Site.BaseURL (strings.TrimPrefix "/" .url)) "" | jsonify }}, + "url": {{ delimit (slice .ctx.Site.BaseURL (strings.TrimPrefix "/" .url)) "" | jsonify }} } \ No newline at end of file