diff --git a/templates/base.html b/templates/base.html index c4e5935838e6e8cc385119c6e8950471acb64bc8..3f7726f77ec480e229172c461134e6f80b79ca2a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -28,7 +28,7 @@ <li {%- if output_file == "index.html" %} class="selected"{% endif %}><a href="{{ SITEURL }}">Home</a></li> {% if DISPLAY_PAGES_ON_MENU -%} - {% for page in PAGES -%} + {% for page in pages -%} <li {%- if output_file == page.url %} class="selected"{% endif %}><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li> {% endfor -%} {% endif -%}