Update base.html

check for pages or LINKS, rather than just pages
This commit is contained in:
Barry O'Rourke 2016-04-30 21:27:49 +01:00
parent 5298bdbede
commit ad1d58a686

View file

@ -67,7 +67,7 @@
</a> </a>
<h1><a href="{{ SITEURL }}">{{ SITETITLE }}</a></h1> <h1><a href="{{ SITEURL }}">{{ SITETITLE }}</a></h1>
{% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %} {% if SITESUBTITLE %}<p>{{ SITESUBTITLE }}</p>{% endif %}
{% if pages %} {% if pages or LINKS %}
<nav> <nav>
<ul class="list"> <ul class="list">
{% for page in pages|sort(attribute='title') %} {% for page in pages|sort(attribute='title') %}