diff options
author | Humberto Rocha <humrochagf@gmail.com> | 2019-08-02 17:48:42 +0300 |
---|---|---|
committer | Humberto Rocha <humrochagf@gmail.com> | 2019-08-02 17:48:42 +0300 |
commit | 39a84bde688d44714a66266ebb431ce248553397 (patch) | |
tree | c532bedcd519ae938e75cbae63622f8fda4bac24 /layouts/partials/blog-post-jsonld.html | |
parent | bdecc2bfb6c5ff4e44e83e4fe3e49174921ccbe5 (diff) |
Simplify theme structure
Diffstat (limited to 'layouts/partials/blog-post-jsonld.html')
-rw-r--r-- | layouts/partials/blog-post-jsonld.html | 8 |
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 }} |