hugo/parser/pageparser
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
..
item.go Support typed bool, int and float in shortcode params 2019-09-29 23:22:41 +02:00
item_test.go Support typed bool, int and float in shortcode params 2019-09-29 23:22:41 +02:00
itemtype_string.go Make Page an interface 2019-03-23 18:51:22 +01:00
pagelexer.go Support typed bool, int and float in shortcode params 2019-09-29 23:22:41 +02:00
pagelexer_intro.go parser/pageparser: Split the page lexer into some more files 2018-12-20 20:08:01 +01:00
pagelexer_shortcode.go Support typed bool, int and float in shortcode params 2019-09-29 23:22:41 +02:00
pagelexer_test.go tests: Convert from testify to quicktest 2019-08-12 13:26:32 +02:00
pageparser.go Support typed bool, int and float in shortcode params 2019-09-29 23:22:41 +02:00
pageparser_intro_test.go Support typed bool, int and float in shortcode params 2019-09-29 23:22:41 +02:00
pageparser_main_test.go Move the emoji parsing to pageparser 2018-12-20 20:08:01 +01:00
pageparser_shortcode_test.go Support typed bool, int and float in shortcode params 2019-09-29 23:22:41 +02:00
pageparser_test.go Make Page an interface 2019-03-23 18:51:22 +01:00