mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
15 lines
402 B
Markdown
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.
|