mirror of https://github.com/gohugoio/hugo
423 B
423 B
title | description | categories | action | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
math.Sum | Returns the sum of all numbers. Accepts scalars, slices, or both. |
|
{{< new-in 0.114.0 >}}
{{ math.Sum 1 (slice 2 3) 4 }} → 10