hugo/tpl/partials
Bjørn Erik Pedersen ae63c2b5c9
Fail on partials with return when given none or a zero argument
We need to make a proper fix for this, but it is better with an error than just silently continue.

Fixes #7572
Updates #7528
2020-08-19 10:01:16 +02:00
..
init.go tpl: Allow the partial template func to return any type 2019-04-02 10:30:24 +02:00
init_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
partials.go Fail on partials with return when given none or a zero argument 2020-08-19 10:01:16 +02:00
partials_test.go tpl/partials: Allow any key type in partialCached 2019-12-03 00:13:47 +01:00