mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-10-18 01:01:12 -04:00

We need to rework the whole template func docs and, while a good idea, this does not fit into that.
644 B
644 B
title | description | godocref | date | publishdate | lastmod | categories | menu | signature | workson | hugoversion | relatedfuncs | deprecated | aliases | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
singularize | Converts a word according to a set of common English singularization rules. | 2017-02-01 | 2017-02-01 | 2017-02-01 |
|
|
|
false |
singularize
converts a word according to a set of common English singularization rules.
{{ "cats" | singularize }}
→ "cat"
See also the .Data.Singular
taxonomy variable for singularizing taxonomy names.