hugo/docs/content/en/functions/singularize.md
2023-05-22 16:47:07 +02:00

15 lines
402 B
Markdown

---
title: singularize
description: Converts a word according to a set of common English singularization rules.
categories: [functions]
menu:
docs:
parent: functions
keywords: [strings,singular]
signature: ["singularize INPUT"]
relatedfuncs: []
---
`{{ "cats" | singularize }}` → "cat"
See also the `.Data.Singular` [taxonomy variable](/variables/taxonomy/) for singularizing taxonomy names.