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-08-02 21:13:35 +0300
committerHumberto Rocha <humrochagf@gmail.com>2019-08-02 21:13:35 +0300
commit6c057f7fd49a67cbb8b5618a321c47d209dca9a6 (patch)
tree08886f8510720b9862e429e30c2884c305753784 /layouts/partials
parent5aef865c8087c679eacba368ea1cdf60d83a2e3d (diff)
Fix theme blog-post-jsonld error
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/blog-post-jsonld.html2
1 files changed, 2 insertions, 0 deletions
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 }}",