{% for block in page.content %} {% with forloop.counter0 as iteration %} {% include_block block %} {% endwith %} {% endfor %}