{% for page in object.current_root_without_me %} {% if forloop.counter0 > 0 %}  |  {% endif %} {{page.metadata.title}} {% endfor %}