mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05: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"
|
||
|
```
|