{% for a in activity %} {% if not loop.first and loop.index0 is divisible by(3) %}
{% endif %} {% endfor %}