diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-01-29 11:44:41 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-01-29 11:44:41 +0100 |
commit | 25d691daff57d7c6d7d0f63af3991d22e3f788fe (patch) | |
tree | 04e264d4ea6c7c09087f8d9f46125edb5db83f0a /hugolib | |
parent | df20b05463fef42aba93d5208e410a7ecc56da5d (diff) |
tpl: Update Twitter card to also consider images in .Resources
The new lookup order:
1) Page.Params.images if set
2) Image resources: images with name "feature" (priority), "cover", "thumbnail"
3) Site.Params.images if set
Fixes #4349
Diffstat (limited to 'hugolib')
0 files changed, 0 insertions, 0 deletions