{% load menu_tags %} {% for child in children %} {% if forloop.first or forloop.counter0|divisibleby:"4" %}
{% endif %}
{% if forloop.counter|divisibleby:"4" or forloop.last %}
{% endif %} {% endfor %}