diff --git a/templates/base.html b/templates/base.html index 95b44f4..bcdf969 100644 --- a/templates/base.html +++ b/templates/base.html @@ -110,9 +110,11 @@ {% if not PAGES_SORT_ATTRIBUTE -%} {% set PAGES_SORT_ATTRIBUTE = 'title' %} {%- endif %} + {% if DISPLAY_PAGES_ON_MENU %} {% for page in pages|sort(attribute=PAGES_SORT_ATTRIBUTE) %}
  • {{ page.title }}
  • {% endfor %} + {% endif %} {% for name, link in LINKS %}
  • {{ name }}