mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-09 14:15:56 -05:00
26 lines
443 B
Markdown
26 lines
443 B
Markdown
|
---
|
||
|
title: pluralize
|
||
|
linktitle: pluralize
|
||
|
description: Pluralizes the given word according to a set of common English pluralization rules
|
||
|
godocref:
|
||
|
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"
|
||
|
```
|
||
|
|