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>
|
<p>{{ SITESUBTITLE }}</p>
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="list">
|
<ul class="list">
|
||||||
|
{% if not MAIN_MENU %}
|
||||||
{% for title, link in MENUITEMS %}
|
{% for title, link in MENUITEMS %}
|
||||||
<li><a href="{{ link }}">{{ title }}</a>
|
<li><a href="{{ link }}">{{ title }}</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% if DISPLAY_PAGES_ON_MENU %}
|
{% if DISPLAY_PAGES_ON_MENU %}
|
||||||
{% for page in pages|sort(attribute='title') %}
|
{% for page in pages|sort(attribute='title') %}
|
||||||
<li><a href="{{ SITEURL }}/{{ page.url }}#{{ page.slug }}">{{ page.title }}</a></li>
|
<li><a href="{{ SITEURL }}/{{ page.url }}#{{ page.slug }}">{{ page.title }}</a></li>
|
||||||
|
|
Loading…
Reference in a new issue