aboutsummaryrefslogtreecommitdiffstats
path: root/sleepmap-theme
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2017-01-29 22:25:16 +0100
committerDavid Runge <dave@sleepmap.de>2017-01-29 22:25:16 +0100
commit5f7208e5da937272a25347a60b531bd69f9857e0 (patch)
treec876b64139d1087678d80b5ab7eff633cebac616 /sleepmap-theme
parentae12ee399488c43c728a734d0a993542ba96228c (diff)
downloadsleepmap-5f7208e5da937272a25347a60b531bd69f9857e0.tar.gz
sleepmap-5f7208e5da937272a25347a60b531bd69f9857e0.tar.bz2
sleepmap-5f7208e5da937272a25347a60b531bd69f9857e0.tar.xz
sleepmap-5f7208e5da937272a25347a60b531bd69f9857e0.zip
sleepmap-theme/templates/base.html: Changing PAGES to pages (pelican > 3.7).
Diffstat (limited to 'sleepmap-theme')
-rw-r--r--sleepmap-theme/templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleepmap-theme/templates/base.html b/sleepmap-theme/templates/base.html
index 7867908..7d51e63 100644
--- a/sleepmap-theme/templates/base.html
+++ b/sleepmap-theme/templates/base.html
@@ -26,7 +26,7 @@
<li><a href="{{ link }}">{{ title }}</a></li>
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU != False %}
- {% for p in PAGES %}
+ {% for p in pages %}
{% if p.title == "Software" or p.title == "Hardware" or p.title == "Music" or p.title == "Installations" or p.title == "About" or p.title == "Contact" or p.title == "Photos" %}
<li {% if p == page %}class="active"{% endif %}>
<a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a>