made menuitems only show up if the top menu is not active
This commit is contained in:
parent
de447c1f75
commit
a44a82bcbc
1 changed files with 2 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue