Parcourir la source

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

Sebastien Badia il y a 8 ans
Parent
commit
96634825da
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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>