aboutsummaryrefslogtreecommitdiffstats
path: root/new-bootstrap2/templates/index.html
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 /new-bootstrap2/templates/index.html
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 'new-bootstrap2/templates/index.html')
-rw-r--r--new-bootstrap2/templates/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/new-bootstrap2/templates/index.html b/new-bootstrap2/templates/index.html
index 4d11a80..cbef204 100644
--- a/new-bootstrap2/templates/index.html
+++ b/new-bootstrap2/templates/index.html
@@ -43,11 +43,11 @@
</div>
{#
{% else %}
- {% if PAGES %}
+ {% if pages %}
<section id="content" class="body">
<h3>Pages</h3>
<ul class="nav nav-list">
- {% for page in PAGES %}
+ {% for page in pages %}
<li><div><i class="icon-external-link"></i><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></div></li>
{% endfor %}
</ul>