hugo/docs/content/functions/singularize.md

553 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
functions
docs
parent
functions
singularize INPUT
false

{{ "cats" | singularize }} → "cat"

See also the .Data.Singular taxonomy variable for singularizing taxonomy names.