diff --git a/templates/base.html b/templates/base.html index bdbda51..0b2a42c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -120,7 +120,8 @@ {% endfor %} {% if DISPLAY_PAGES_ON_MENU %} - {% for p in PAGES %} + {# FIXME: Simplify to 'for p in pages' when we are ready to drop support for Pelican < 3.7 #} + {% for p in PAGES or pages %} {{ p.title }} {% endfor %} {% else %}