{% for item in category.get_ancestors %} {{ item.name }} {{ separator }} {% endfor %} {{ category.name }}