aboutsummaryrefslogtreecommitdiffstats
path: root/simple-bootstrap/templates
diff options
context:
space:
mode:
authorAdam Matan <adam@matan.name>2017-03-07 20:01:35 +0200
committerAdam Matan <adam@matan.name>2017-03-07 20:01:35 +0200
commite1bd3488e60362f05d5e63adf73b10a7c3932124 (patch)
tree5bf68fd7311072f64f0abc660faac1bb3ad969d8 /simple-bootstrap/templates
parentef412e6bd0a9e0e93bb3ae377725b41c63d49a49 (diff)
downloadpelican-themes-e1bd3488e60362f05d5e63adf73b10a7c3932124.tar.gz
Replace 'PAGES' with 'pages' across all themes
Solving http://docs.getpelican.com/en/latest/faq.html\#since-i-upgraded-pelican-my-pages-are-no-longer-rendered And https://github.com/getpelican/pelican-themes/issues/437
Diffstat (limited to 'simple-bootstrap/templates')
-rwxr-xr-xsimple-bootstrap/templates/base.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/simple-bootstrap/templates/base.html b/simple-bootstrap/templates/base.html
index d9c71b9..33ae7f8 100755
--- a/simple-bootstrap/templates/base.html
+++ b/simple-bootstrap/templates/base.html
@@ -39,7 +39,7 @@
<div class="header">
<ul class="nav nav-pills pull-right">
<li class="{% block navclass %}{{ NAVCLASS }}{% endblock navclass %}"><a href="{{ SITEURL }}">Home</a></li>
- {% for p in PAGES %}
+ {% for p in pages %}
<li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
{% endfor %}
<li{% if author or tag %} class="active"{% endif %}{% block archclass %}{{ ARCHCLASS }}{% endblock archclass %}><a href="{{ SITEURL }}/archives.html">Archives</a></li>