diff --git a/templates/base.html b/templates/base.html index c514fbc..95a125d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -123,7 +123,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 %}