mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-01 23:01:47 -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.
|