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 17:48:42 +0300
committerHumberto Rocha <humrochagf@gmail.com>2019-08-02 17:48:42 +0300
commit39a84bde688d44714a66266ebb431ce248553397 (patch)
treec532bedcd519ae938e75cbae63622f8fda4bac24 /layouts/partials/blog-post-jsonld.html
parentbdecc2bfb6c5ff4e44e83e4fe3e49174921ccbe5 (diff)
Simplify theme structure
Diffstat (limited to 'layouts/partials/blog-post-jsonld.html')
-rw-r--r--layouts/partials/blog-post-jsonld.html8
1 files changed, 2 insertions, 6 deletions
diff --git a/layouts/partials/blog-post-jsonld.html b/layouts/partials/blog-post-jsonld.html
index 30a79bd..89f1222 100644
--- a/layouts/partials/blog-post-jsonld.html
+++ b/layouts/partials/blog-post-jsonld.html
@@ -8,14 +8,10 @@
{{ if .Params.Tags }}
"keywords": "{{ delimit .Params.Tags "," }}",
{{ end }}
- {{ if .Params.shareImage }}
- "image": "{{ .Params.shareImage | absURL }}",
- {{ else }}
- "image": "{{ .Site.Params.siteLogo | absURL }}",
- {{ end }}
+ "image": "{{ index .Params.images 0 | absURL }}",
"author": {
"@type": "Person",
- "name": "{{ .Site.Params.author.name }}",
+ "name": "{{ .Site.Author.name }}",
{{ with .Site.GetPage "/about" }}
"url": "{{ .Permalink }}"
{{ end }}