allowed pages to not show up on menu

This commit is contained in:
paulyon 2016-01-14 21:59:05 -06:00
parent 17e24acc70
commit 40fe23e55a

View file

@ -51,9 +51,11 @@
<p>{{ SITESUBTITLE }}</p> <p>{{ SITESUBTITLE }}</p>
<nav> <nav>
<ul class="list"> <ul class="list">
{% 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 %}