{% for parent in NavigationNodes %} {% if parent.children_have_content %} {% elif parent.has_content %} {% if parent.view %} {# Hide links to alumni reunion form, if disabled #} {% if not SiteSettings.show_reunion_form and parent.view == "usta:alumni_reunion_form" %} {% else %} {% endif %} {% elif parent.path %} {% endif %} {% endif %} {% endfor %}