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
amber_compiler.go
shortcodes.go
shortcodes_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
template.go
template_ast_transformers.go
template_ast_transformers_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
template_errors.go
template_funcs.go
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
templateProvider.go