aboutsummaryrefslogtreecommitdiffstats
path: root/photowall
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2017-04-08 13:44:58 +0200
committerGitHub <noreply@github.com>2017-04-08 13:44:58 +0200
commit88f21b95e3a6dc91c6a344e90ec50afbedc5bdd7 (patch)
tree6e6c99fab6a0c45ba96bfb501f581b3a71e7917a /photowall
parent5ebcbdac1f43f04a47eb121aa3b5a8ee4ae35da6 (diff)
parent3a009cc2c24552366b823c69e393029c14fe8758 (diff)
downloadpelican-themes-88f21b95e3a6dc91c6a344e90ec50afbedc5bdd7.tar.gz
Merge branch 'master' into bricabractheme
Diffstat (limited to 'photowall')
-rw-r--r--photowall/templates/base.html2
-rw-r--r--photowall/templates/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/photowall/templates/base.html b/photowall/templates/base.html
index ed1707a..b68a018 100644
--- a/photowall/templates/base.html
+++ b/photowall/templates/base.html
@@ -39,7 +39,7 @@ function greyon(img)
<li><a href="{{ link }}">{{ title }}</a></li>
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU -%}
- {% for pg in PAGES %}
+ {% for pg in pages %}
<li{% if pg == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ pg.url }}">{{ pg.title }}</a></li>
{% endfor %}
{% endif %}
diff --git a/photowall/templates/index.html b/photowall/templates/index.html
index 9abd15b..56add9f 100644
--- a/photowall/templates/index.html
+++ b/photowall/templates/index.html
@@ -27,7 +27,7 @@
{% else %}
<section id="content" class="body">
<h2>Pages</h2>
- {% for page in PAGES %}
+ {% for page in pages %}
<li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
</section>