Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

This course is the most refreshing take on teaching design that I've come across.

— Mikaël Sévigny, Developer

sum Modifier

Returns the sum of all items in an array, optionally specified by a specific key.

numbers:
- 5
- 10
- 20
- 40
stats:
- player: Luke Skywalker
score: 750
- player: Wedge Antilles
score: 688
- player: Jar Jar Binks
score: 1425
{{ numbers | sum }}
{{ stats | sum($score) }}
75
2863
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →
Hello there! Are you looking for the Statamic v2 documentation?