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