{% load i18n %} {% load content_filters %} {% load page_filters %}
{# djlint:off H020,H053 #} {% for sibling in siblings %} {% if sibling == page %} {% else %} {% if page and page == previous_sibling %} {% else %} {% endif %} {% if forloop.last %} {% if not page in siblings %} {% else %} {% endif %} {% endif %} {% endif %} {% firstof sibling as previous_sibling %} {% endfor %} {% if not page in siblings %} {% if not page %} {% translate "New Page" as page_order_title %} {% else %} {% firstof page.best_translation.title as page_order_title %} {% endif %} {% endif %} {# djlint:on #}
{% if can_edit_page %} {% endif %} {{ sibling.best_translation.title }}
{{ sibling.best_translation.title }}
{% if can_edit_page %} {% endif %} {{ page_order_title }}