mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Merge commit '7125ad401ad043e46262afc7eca8dceb6d54bb9e'
This commit is contained in:
@@ -18,7 +18,7 @@ aliases: [/functions/humanize]
|
||||
{{ humanize "myCamelPost" }} → My camel post
|
||||
```
|
||||
|
||||
If the input is either an int64 value or the string representation of an integer, humanize returns the number with the proper ordinal appended.
|
||||
If the input is an integer or a string representation of an integer, humanize returns the number with the proper ordinal appended.
|
||||
|
||||
```go-html-template
|
||||
{{ humanize "52" }} → 52nd
|
||||
|
Reference in New Issue
Block a user