mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-01 19:33:08 -05:00
19 lines
420 B
Markdown
19 lines
420 B
Markdown
|
---
|
||
|
title: inflect.Pluralize
|
||
|
description: Pluralizes the given word according to a set of common English pluralization rules.
|
||
|
categories: []
|
||
|
keywords: []
|
||
|
action:
|
||
|
aliases: [pluralize]
|
||
|
related:
|
||
|
- functions/inflect/Humanize
|
||
|
- functions/inflect/Singularize
|
||
|
returnType: string
|
||
|
signatures: [inflect.Pluralize INPUT]
|
||
|
aliases: [/functions/pluralize]
|
||
|
---
|
||
|
|
||
|
```go-html-template
|
||
|
{{ "cat" | pluralize }} → cats
|
||
|
```
|