{% for t in categories.tree %} {{ t.name }} {% if not forloop.last %}  /  {% endif %} {% endfor %}