hugo/docs/content/en/functions/inflect/Singularize.md
2023-12-04 15:24:01 +01:00

539 B

title description categories keywords action aliases
inflect.Singularize Singularizes the given word according to a set of common English singularization rules.
aliases related returnType signatures
singularize
functions/inflect/Humanize
functions/inflect/Pluralize
string
inflect.Singularize INPUT
/functions/singularize
{{ "cats" | singularize }} → cat

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