added menuitems to sidebar menu

This commit is contained in:
paulyon 2016-01-14 22:07:48 -06:00
parent 40fe23e55a
commit de447c1f75

View file

@ -51,6 +51,9 @@
<p>{{ SITESUBTITLE }}</p> <p>{{ SITESUBTITLE }}</p>
<nav> <nav>
<ul class="list"> <ul class="list">
{% for title, link in MENUITEMS %}
<li><a href="{{ link }}">{{ title }}</a>
{% endfor %}
{% 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>