{% load i18n %} {% if item_list %} {% regroup item_list by collection as item_list_grouped %} {% endif %}