aboutsummaryrefslogtreecommitdiffstats
path: root/sneakyidea/templates
diff options
context:
space:
mode:
Diffstat (limited to 'sneakyidea/templates')
-rw-r--r--sneakyidea/templates/base.html2
-rw-r--r--sneakyidea/templates/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/sneakyidea/templates/base.html b/sneakyidea/templates/base.html
index dcd9239..9e885f0 100644
--- a/sneakyidea/templates/base.html
+++ b/sneakyidea/templates/base.html
@@ -31,7 +31,7 @@
<h1><a href="{{ SITEURL }}">{{ SITENAME }} {% if SITESUBTITLE %} <strong>{{ SITESUBTITLE }}</strong>{% endif %}</a></h1>
<nav><ul>
{% if DISPLAY_PAGES_ON_MENU %}
- {% for current_page in PAGES %}
+ {% for current_page in pages %}
<li {% if page %}{% if page == current_page%}class="active"{% endif %}{% endif %}>
<a href="{{ SITEURL }}/{{ current_page.url }}">{{ current_page.title }}</a>
</li>
diff --git a/sneakyidea/templates/index.html b/sneakyidea/templates/index.html
index 9b7dfa9..c3b359a 100644
--- a/sneakyidea/templates/index.html
+++ b/sneakyidea/templates/index.html
@@ -38,7 +38,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>