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