inflect
Inflect is Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
inflect.Humanize
Humanize returns the humanized form of a single parameter.
If the parameter is either an integer or a string containing an integer value, the behavior is to add the appropriate ordinal.
Example: "my-first-post" -> "My first post"
Example: "103" -> "103rd"
Example: 52 -> "52nd"
Aliases: humanize
Examples
{{ humanize "my-first-post" }}
My first post
{{ humanize "myCamelPost" }}
My camel post
{{ humanize "52" }}
52nd
{{ humanize 103 }}
103rd
inflect.Pluralize
Pluralize returns the plural form of a single word.
Aliases: pluralize
Examples
{{ "cat" | pluralize }}
cats
inflect.Singularize
Singularize returns the singular form of a single word.
Aliases: singularize
Examples
{{ "cats" | singularize }}
cat