{# {% import _self as self %} #} {% macro toc_loop(items) %} {% for item in items %} {% set class = loop.first ? 'first' : loop.last ? 'last' : null %}