aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Harrington <harrington.nathan@gmail.com>2016-05-30 13:19:49 -0400
committerNathan Harrington <harrington.nathan@gmail.com>2016-05-30 13:19:49 -0400
commit3e68feee3cde8a90514df99f53652b3e595ad3c3 (patch)
treef752b466b45703e2808f29020f3adb89bec42ff2
parentccb8efc064dff0cc24fe715d8f83e33e061c64de (diff)
downloadpelican-themes-3e68feee3cde8a90514df99f53652b3e595ad3c3.tar.gz
Correctly display pages on menu by correcting pages variable name
-rw-r--r--pelican-bootstrap3/templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pelican-bootstrap3/templates/base.html b/pelican-bootstrap3/templates/base.html
index 610d050..84947c1 100644
--- a/pelican-bootstrap3/templates/base.html
+++ b/pelican-bootstrap3/templates/base.html
@@ -122,7 +122,7 @@
<li><a href="{{ link }}">{{ title }}</a></li>
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU %}
- {% for p in PAGES %}
+ {% for p in pages %}
<li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">
{{ p.menulabel|default(p.title) }}
</a></li>