Nunjuck Loop
See Also the nunjucks docs
loop.index
: the current iteration of the loop (1 indexed)loop.index0
: the current iteration of the loop (0 indexed)loop.revindex
: number of iterations until the end (1 indexed)loop.revindex0
: number of iterations until the end (0 based)loop.first
: boolean indicating the first iterationloop.last
: boolean indicating the last iterationloop.length
: total number of items