{% for item in navbar.get_items %} {% if item.offcanvas %} {% include 'base_navbar/offcanvas/full.html' %} {% elif item.get_children %}