hugo/tpl/strings
Bjørn Erik Pedersen 241b21b0fd Create a struct with all of Hugo's config options
Primary motivation is documentation, but it will also hopefully simplify the code.

Also,

* Lower case the default output format names; this is in line with the custom ones (map keys) and how
it's treated all the places. This avoids doing `stringds.EqualFold` everywhere.

Closes #10896
Closes #10620
2023-05-16 18:01:29 +02:00
..
init.go tpl: Add hasSuffix alias 2023-03-08 10:18:34 +01:00
regexp.go tpl/strings: Clarify findRESubmatch description 2023-04-27 22:02:41 +02:00
regexp_test.go tpl/strings: Add findRESubmatch 2023-01-17 12:14:11 +01:00
strings.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
strings_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
truncate.go strings: fix Truncate behavior for formatted html 2023-03-01 17:59:50 +01:00
truncate_test.go strings: fix Truncate behavior for formatted html 2023-03-01 17:59:50 +01:00