hugo/tpl/tplimpl
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
..
embedded Support typed bool, int and float in shortcode params 2019-09-29 23:22:41 +02:00
ace.go tpl/tplimpl: Handle late transformation of templates 2019-04-16 21:24:09 +02:00
amber_compiler.go tpl/tplimpl: Fix compiling Amber templates that import other templates 2018-08-17 10:04:07 +02:00
shortcodes.go Fix assorted typos 2019-08-01 13:55:48 +02:00
shortcodes_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
template.go Simplify code 2019-08-10 20:10:32 +02:00
template_ast_transformers.go tpl/tplimpl: Handle late transformation of templates 2019-04-16 21:24:09 +02:00
template_ast_transformers_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
template_errors.go hugolib: Continue the file context/line number errors work 2018-10-22 20:46:14 +02:00
template_funcs.go tpl: Fix reflect 2018-12-28 10:41:46 +01:00
template_funcs_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
template_info_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
templateFuncster.go Make Page an interface 2019-03-23 18:51:22 +01:00
templateProvider.go tpl/tplimpl: Handle late transformation of templates 2019-04-16 21:24:09 +02:00