Pretty straightforward I guess. Having a slice:
{{ $breadcrumb := (slice (dict ... )) }}
How can I, inside a range
append a new slice to this one, initialized outside of the loop?
I’ve found a question on Stack Overflow saying what I would be looking for is a built-in function append
, but using it reports (another) error saying this function is not defined.