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:
-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 }}