Skip to content
Snippets Groups Projects
Commit 26747705 authored by Baptiste Jonglez's avatar Baptiste Jonglez
Browse files

Fix display of static pages

With recent versions of Pelican (I looked at 3.7.1), the theme didn't show
any static page anymore.  This is because the template variable changed
name from "PAGES" to "pages" at some point.
parent f0553cb4
No related branches found
No related tags found
No related merge requests found
......@@ -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 -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment