From d9915f87be617e669676de40407eaddf89351411 Mon Sep 17 00:00:00 2001 From: Lioman Date: Sat, 6 Mar 2021 18:34:15 +0100 Subject: [PATCH] do not add empty list if none should be shown If links are empty but pages are there but disabled an empty list was shown. --- templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index 01e36c5..9a8b5f2 100644 --- a/templates/base.html +++ b/templates/base.html @@ -182,7 +182,7 @@ {% endif %} - {% if pages or LINKS %} + {% if (pages and DISPLAY_PAGES_ON_MENU) or LINKS %}