Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

For a software dev like me who has no idea how to create a cute hand-drawn dashed line, this course just 100% works.

— Ira Zayats, Developer

plural Modifier

Get the plural form of an English word. Accepts a numerical parameter, either as a literal value or a variable, to control plurality. It's important to note that you should use the singular form of the word to ensure the best results.

shopping_list:
- item: pickle
quantity: 1
- item: apple
quantity: 12
- item: donut
quantity: 500
Please pick up the following items:
{{ shopping_list }}
- {{ quantity }} {{ item | plural($quantity) }}.
{{ /shopping_list }}
Please pick up the following items:
- 1 pickle
- 3 apples
- 500 donuts
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →