hugo/tpl/strings
Jonathan Fisher d171d1543d tpl: Add hasSuffix alias
strings.HasPrefix already has an alias of hasPrefix
but strings.HasSuffix has no such alias.
This PR adds a hasSuffix alias to the tpl function with corresponding
function documentation.
It also adds a Minor update to the hasPrefix function documentation
re: keywords and relatedfuncs.

 Completes https://github.com/gohugoio/hugo/issues/10474
2023-03-08 10:18:34 +01:00
..
init.go tpl: Add hasSuffix alias 2023-03-08 10:18:34 +01:00
regexp.go tpl/strings: Add findRESubmatch 2023-01-17 12:14:11 +01:00
regexp_test.go tpl/strings: Add findRESubmatch 2023-01-17 12:14:11 +01:00
strings.go tpl/strings: Add strings.ContainsNonSpace 2023-02-05 20:08:44 +01:00
strings_test.go tpl/strings: Add strings.ContainsNonSpace 2023-02-05 20:08:44 +01: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