diff --git a/templates/base.html b/templates/base.html index 105a236..3069e58 100644 --- a/templates/base.html +++ b/templates/base.html @@ -99,9 +99,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 }}