math.Min
Returns the smaller of all numbers. Accepts scalars, slices, or both.
Syntax
math.Min VALUE...
Returns
float64
{{ math.Min 1 (slice 2 3) 4 }} → 1
Hugo Documentation
Syntax
Returns
{{ math.Min 1 (slice 2 3) 4 }} → 1