From 6c057f7fd49a67cbb8b5618a321c47d209dca9a6 Mon Sep 17 00:00:00 2001 From: Humberto Rocha Date: Fri, 2 Aug 2019 15:13:35 -0300 Subject: Fix theme blog-post-jsonld error --- layouts/partials/blog-post-jsonld.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'layouts/partials') diff --git a/layouts/partials/blog-post-jsonld.html b/layouts/partials/blog-post-jsonld.html index 89f1222..4c26e00 100644 --- a/layouts/partials/blog-post-jsonld.html +++ b/layouts/partials/blog-post-jsonld.html @@ -8,7 +8,9 @@ {{ if .Params.Tags }} "keywords": "{{ delimit .Params.Tags "," }}", {{ end }} + {{ if .Params.images }} "image": "{{ index .Params.images 0 | absURL }}", + {{ end }} "author": { "@type": "Person", "name": "{{ .Site.Author.name }}", -- cgit v1.2.3