{% for obj in object.get_breadcrumbs %} {% if forloop.last %}
  1. {{ obj.title }}
  2. {% else %}
  3. {{ obj.title }}
  4. {% endif %} {% endfor %}