aboutsummaryrefslogtreecommitdiffstats
path: root/notmyidea-cms
diff options
context:
space:
mode:
Diffstat (limited to 'notmyidea-cms')
-rw-r--r--notmyidea-cms/templates/base.html2
-rw-r--r--notmyidea-cms/templates/index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/notmyidea-cms/templates/base.html b/notmyidea-cms/templates/base.html
index 4d92ec2..d281c0f 100644
--- a/notmyidea-cms/templates/base.html
+++ b/notmyidea-cms/templates/base.html
@@ -33,7 +33,7 @@
</li>
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU != False %}
- {% for p in PAGES %}
+ {% for p in pages %}
<li {% if p == page %}class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
{% endfor %}
{% endif %}
diff --git a/notmyidea-cms/templates/index.html b/notmyidea-cms/templates/index.html
index 5e1e676..c97ff7d 100644
--- a/notmyidea-cms/templates/index.html
+++ b/notmyidea-cms/templates/index.html
@@ -35,7 +35,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>