Browse Source

theme: Remove PAGES context variable for themes in favor of pages

Sebastien Badia 8 years ago
parent
commit
96634825da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      theme/templates/index.html

+ 1 - 1
theme/templates/index.html

@@ -58,7 +58,7 @@
 {% else %}
   <section id="content">
     <h2>Pages</h2>
-    {% for page in PAGES %}
+    {% for page in pages %}
       <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
     {% endfor %}
   </section>