hugo/tpl/urls
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
..
init.go tpl/urls: Add anchorize template func 2018-04-15 23:17:50 +02:00
init_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
urls.go Support typed bool, int and float in shortcode params 2019-09-29 23:22:41 +02:00
urls_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00