hugo/tpl/tplimpl
Bjørn Erik Pedersen 25d691daff
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
2018-01-29 11:44:41 +01:00
..
ace.go Fix broken shortcodes for Ace and Amber 2017-11-18 10:41:31 +01:00
amber_compiler.go tpl: Rework to handle both text and HTML templates 2017-04-02 23:13:10 +02:00
template.go Fix broken shortcodes for Ace and Amber 2017-11-18 10:41:31 +01:00
template_ast_transformers.go tpl: Rework to handle both text and HTML templates 2017-04-02 23:13:10 +02:00
template_ast_transformers_test.go tpl: Rework to handle both text and HTML templates 2017-04-02 23:13:10 +02:00
template_embedded.go tpl: Update Twitter card to also consider images in .Resources 2018-01-29 11:44:41 +01:00
template_funcs.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
template_funcs_test.go tplimpl: Make partial benchmarks use RunParallel 2017-11-16 01:13:07 +01:00
template_test.go tpl/tplimpl: Fix escaped HTML Go 1.9 multioutput issue (#3880) 2017-09-13 12:32:06 +02:00
templateFuncster.go all: Update import paths to gohugoio/hugo 2017-06-13 18:42:45 +02:00
templateProvider.go Add some missing doc comments 2017-08-03 15:57:51 +02:00