diff options
author | Humberto Rocha <humrochagf@gmail.com> | 2019-07-31 20:22:35 +0300 |
---|---|---|
committer | Humberto Rocha <humrochagf@gmail.com> | 2019-07-31 20:22:35 +0300 |
commit | 02a9c1a51d9c5cc377b77b3f7138ba45f8f5113e (patch) | |
tree | 6b521af7437c2be7e39a51cf331088f08de805f8 /layouts/partials/blog-post-jsonld.html | |
parent | f6c44e0896cc399a5c219237ba4984bb32f2b833 (diff) |
Fix tags
Diffstat (limited to 'layouts/partials/blog-post-jsonld.html')
-rw-r--r-- | layouts/partials/blog-post-jsonld.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/blog-post-jsonld.html b/layouts/partials/blog-post-jsonld.html index 5edea62..5127ffc 100644 --- a/layouts/partials/blog-post-jsonld.html +++ b/layouts/partials/blog-post-jsonld.html @@ -5,7 +5,9 @@ "url": "{{ .Permalink }}", "datePublished": "{{ .PublishDate.Format "2006-01-02" }}", "description": "{{ .Description }}", - "keywords": "{{ delimit .Params.Tags " " }}", + {{ if .Params.Tags }} + "keywords": "{{ delimit .Params.Tags " " }}", + {{ end }} "image": { "@type": "ImageObject", {{ if .Params.shareImage }} |