hugo/tpl
Bjørn Erik Pedersen 329e88db1f Support typed bool, int and float in shortcode params
This means that you now can do:

    {{< vidur 9KvBeKu false true 32 3.14 >}}

And the boolean and numeric values will be converted to `bool`, `int` and `float64`.

If you want these to be  strings, they must be quoted:

    {{< vidur 9KvBeKu "false" "true" "32" "3.14" >}}

Fixes #6371
2019-09-29 23:22:41 +02:00
..
cast tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
collections tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
compare tpl: Remove eq argument limitation 2019-09-05 14:38:47 +02:00
crypto tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
data tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
encoding tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
fmt tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
hugo tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
images Allow slices in the image Filter funcs, not just varargs 2019-09-04 17:24:50 +02:00
inflect tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
internal tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
lang tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
math tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
os tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
partials tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
path tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
reflect tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
resources Image resource refactor 2019-08-26 15:00:44 +02:00
safe tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
site tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
strings tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
templates tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
time tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
tplimpl Support typed bool, int and float in shortcode params 2019-09-29 23:22:41 +02:00
transform tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
urls Support typed bool, int and float in shortcode params 2019-09-29 23:22:41 +02:00
template.go Add Hugo Modules 2019-07-24 09:35:53 +02:00
template_info.go tpl: Allow the partial template func to return any type 2019-04-02 10:30:24 +02:00
template_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00