mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-26 05:01:26 +00:00
0a812beb12
Add logic to tpl.humanize such that it understands input of int literals or strings which represent an integer. When tpl.humanize sees this type of input, it will use inflect.Ordinalize as opposed to the standard inflect.Humanize. Fixes #1886 |
||
---|---|---|
.. | ||
reflect_helpers.go | ||
template.go | ||
template_embedded.go | ||
template_funcs.go | ||
template_funcs_test.go | ||
template_resources.go | ||
template_resources_test.go | ||
template_test.go |