Commits

Anonymous committed f3f1781

added in-navigation test to level 1

Comments (0)

Files changed (1)

mezzanine/pages/templates/pages/menus/dropdown.html

 {% if branch_level == 1 %}
 <ul class="dropdown-menu">
     {% for page in page_branch %}
+    {% if page.in_navigation %}
     <li{% if page.is_current_or_ascendant %} class="active"{% endif %}
         id="dropdown-menu-{{ page.html_id }}">
         <a href="{{ page.get_absolute_url }}">{{ page.title }}</a>
     </li>
+    {% endif %}
     {% endfor %}
 </ul>
 {% endif %}