summaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
Diffstat (limited to 'theme')
-rw-r--r--theme/templates/base.html2
-rw-r--r--theme/templates/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/theme/templates/base.html b/theme/templates/base.html
index 7cceb5e..ad10ca3 100644
--- a/theme/templates/base.html
+++ b/theme/templates/base.html
@@ -24,7 +24,7 @@
<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/theme/templates/index.html b/theme/templates/index.html
index c898247..30b91fb 100644
--- a/theme/templates/index.html
+++ b/theme/templates/index.html
@@ -56,7 +56,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>