mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
5fd1e74903
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
689 B
689 B
title | description | categories | keywords | action | aliases | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
inflect.Humanize | Returns the humanized version of the input with the first letter capitalized. |
|
|
{{ humanize "my-first-post" }} → My first post
{{ humanize "myCamelPost" }} → My camel post
If the input is an integer or a string representation of an integer, humanize returns the number with the proper ordinal appended.
{{ humanize "52" }} → 52nd
{{ humanize 103 }} → 103rd