diff --git a/internal/web/web.go b/internal/web/web.go index 692117e..a14883a 100644 --- a/internal/web/web.go +++ b/internal/web/web.go @@ -111,7 +111,7 @@ var funcs = template.FuncMap{ "ago": ago, // shortNode is a node's name without what every node's name starts with. "shortNode": strings.TrimPrefix, - "age": age, + "age": age, // pctbar is a percentage as the minibar template takes it: whole, and // held to 0..100 so a measurement a little over does not draw past its box. "pctbar": func(v float64) struct{ P int } {