{% extends 'base.html' %} {% block content %}
{% for obj in object_list %}
{{ forloop.counter }} {% include 'products/snippets/card.html' with instance=obj %} {% if forloop.counter|divisibleby:2 %}
{% else %}
{% endif %} {% endfor %} {% endblock %}