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>
<nav>
<ul class="list">
{% if DISPLAY_PAGES_ON_MENU %}
{% for page in pages|sort(attribute='title') %}
<li><a href="{{ SITEURL }}/{{ page.url }}#{{ page.slug }}">{{ page.title }}</a></li>
{% endfor %}
{% endif %}
{% for name, link in LINKS %}
<li><a href="{{ link }}" target="_blank">{{ name }}</a></li>
{% endfor %}