{% spaceless %} {% with item_class=item_class|default:"breadcrumb-item" %} {% for ance in ancestors %} {% if not forloop.last or extra_ance %}