hugo/tpl
Michael Orr 0a812beb12 tpl: Modify tpl.humanize to ordinalize integer input
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
2016-07-13 22:09:59 +02:00
..
reflect_helpers.go Make where accept slice 2016-03-06 13:15:07 +01:00
template.go Add readFile template func 2016-03-31 21:24:18 +02:00
template_embedded.go Allow picking a specific file out of a gist 2016-03-11 18:29:07 +01:00
template_funcs.go tpl: Modify tpl.humanize to ordinalize integer input 2016-07-13 22:09:59 +02:00
template_funcs_test.go tpl: Modify tpl.humanize to ordinalize integer input 2016-07-13 22:09:59 +02:00
template_resources.go tpl: Do not write to cache when ignoring cache 2016-04-14 10:48:26 +02:00
template_resources_test.go tpl: Do not write to cache when ignoring cache 2016-04-14 10:48:26 +02:00
template_test.go Add readFile template func 2016-03-31 21:24:18 +02:00