Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/humrochagf/colordrop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHumberto Rocha <humrochagf@gmail.com>2019-07-31 20:22:35 +0300
committerHumberto Rocha <humrochagf@gmail.com>2019-07-31 20:22:35 +0300
commit02a9c1a51d9c5cc377b77b3f7138ba45f8f5113e (patch)
tree6b521af7437c2be7e39a51cf331088f08de805f8 /layouts/partials/blog-post-jsonld.html
parentf6c44e0896cc399a5c219237ba4984bb32f2b833 (diff)
Fix tags
Diffstat (limited to 'layouts/partials/blog-post-jsonld.html')
-rw-r--r--layouts/partials/blog-post-jsonld.html4
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 }}