Skip to content

Pluralize ​

Returns the singular or the plural form of an English word for a given count. The input is the count.

liquid
{{ number | pluralize: word }}
  • word: The singular form of the word.

Example ​

liquid
{{ 1 | pluralize: 'item' }}
{{ 3 | pluralize: 'item' }}

Output

html
item
items