I’d like to be able to do something like
{{ range $i := [0, 1, 2, 3] }}
{{ data | index $i }}
{{ end }}
Is there something I’m missing about how to do this?
I’d like to be able to do something like
{{ range $i := [0, 1, 2, 3] }}
{{ data | index $i }}
{{ end }}
Is there something I’m missing about how to do this?
Use range
+ seq
: seq | Hugo
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.