Merge a44a82bcbc
into 4fc8b6f296
This commit is contained in:
commit
40a1ddef88
1 changed files with 7 additions and 0 deletions
|
@ -72,9 +72,16 @@
|
||||||
{% if pages or LINKS %}
|
{% if pages or LINKS %}
|
||||||
<nav>
|
<nav>
|
||||||
<ul class="list">
|
<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') %}
|
{% 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>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
{% for name, link in LINKS %}
|
{% for name, link in LINKS %}
|
||||||
<li><a href="{{ link }}" target="_blank">{{ name }}</a></li>
|
<li><a href="{{ link }}" target="_blank">{{ name }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue