mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-09-12 16:18:34 +00:00
25 lines
482 B
Markdown
25 lines
482 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]
|
|
tags: [strings]
|
|
signature:
|
|
workson: []
|
|
hugoversion:
|
|
relatedfuncs: []
|
|
deprecated: false
|
|
aliases: []
|
|
---
|
|
|
|
`pluralize` will pluralize the given word according to a set of common English pluralization rules.
|
|
|
|
```
|
|
{{ "cat" | pluralize }} → "cats"
|
|
```
|
|
|