aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap2
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2017-04-08 13:40:22 +0200
committerGitHub <noreply@github.com>2017-04-08 13:40:22 +0200
commit7c80c7f33653e5baff14c59195041488d1dc4a45 (patch)
tree458d9a0b1f8e25e95cd16c524bc3fe4a62c8a5e2 /bootstrap2
parentd7779b637b990aa70266d55faf842fbb4c837715 (diff)
parente1bd3488e60362f05d5e63adf73b10a7c3932124 (diff)
downloadpelican-themes-7c80c7f33653e5baff14c59195041488d1dc4a45.tar.gz
Merge pull request #497 from adamatan/master
Replace 'PAGES' with 'pages' across all themes
Diffstat (limited to 'bootstrap2')
-rw-r--r--bootstrap2/templates/base.html2
-rw-r--r--bootstrap2/templates/index.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap2/templates/base.html b/bootstrap2/templates/base.html
index a5ffa2f..76b5569 100644
--- a/bootstrap2/templates/base.html
+++ b/bootstrap2/templates/base.html
@@ -70,7 +70,7 @@
<li><a href="{{ link }}">{{ title }}</a></li>
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU %}
- {% for page in PAGES %}
+ {% for page in pages %}
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
<li class="divider-vertical"></li>
diff --git a/bootstrap2/templates/index.html b/bootstrap2/templates/index.html
index db92ac6..c711a2d 100644
--- a/bootstrap2/templates/index.html
+++ b/bootstrap2/templates/index.html
@@ -35,10 +35,10 @@
</div>
{% else %}
- {% if PAGES %}
+ {% if pages %}
<section id="content" class="body">
<h1>Pages</h1>
- {% for page in PAGES %}
+ {% for page in pages %}
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
</section>