{% load common mptt_tags %} {% block content %} {% spaceless %} {% for node, structure in nodes|tree_info %} {% if structure.new_level %}