mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-28 18:31:40 +00:00
24 lines
432 B
Markdown
24 lines
432 B
Markdown
|
---
|
||
|
title: pluralize
|
||
|
linktitle: pluralize
|
||
|
description: Pluralizes the given word according to a set of common English pluralization rules
|
||
|
date: 2017-02-01
|
||
|
publishdate: 2017-02-01
|
||
|
lastmod: 2017-02-01
|
||
|
categories: [functions]
|
||
|
menu:
|
||
|
docs:
|
||
|
parent: "functions"
|
||
|
keywords: [strings]
|
||
|
signature: ["pluralize INPUT"]
|
||
|
workson: []
|
||
|
hugoversion:
|
||
|
relatedfuncs: []
|
||
|
deprecated: false
|
||
|
aliases: []
|
||
|
---
|
||
|
|
||
|
```
|
||
|
{{ "cat" | pluralize }} → "cats"
|
||
|
```
|