{% load glitter_navigation mptt_tags %} {% get_root_pages current_page as root_pages %} {% for page, page_active in root_pages %} {% if page_active %} {% endif %} {% endfor %} {% if current_page %} {% tree_from_root current_page as page_tree %} {% get_page_ancestor_ids current_page as ancestor_ids %} {% if page_tree %} {% endif %} {% endif %}