{% load navigation_tags %} {% for menuitem in menuitems %} {% if menuitem.show_dropdown %} {% else %} {{ menuitem.title }} {% endif %} {% endfor %}