made menuitems only show up if the top menu is not active

This commit is contained in:
paulyon 2016-01-14 23:16:46 -06:00
parent de447c1f75
commit a44a82bcbc

View file

@ -51,9 +51,11 @@
<p>{{ SITESUBTITLE }}</p>
<nav>
<ul class="list">
{% if not MAIN_MENU %}
{% for title, link in MENUITEMS %}
<li><a href="{{ link }}">{{ title }}</a>
{% endfor %}
{% endif %}
{% if DISPLAY_PAGES_ON_MENU %}
{% for page in pages|sort(attribute='title') %}
<li><a href="{{ SITEURL }}/{{ page.url }}#{{ page.slug }}">{{ page.title }}</a></li>