From 2674770518238e1515ae8583a3a686831f550e6a Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez <git@bitsofnetworks.org> Date: Sun, 11 Feb 2018 22:18:34 +0100 Subject: [PATCH] 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. --- templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index c4e5935..3f7726f 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 -%} -- GitLab