From a247354db819ce8b2bbe2777afd9e32066243e8b Mon Sep 17 00:00:00 2001 From: Gordon Reeder Date: Sun, 28 Oct 2018 20:08:41 -0700 Subject: [PATCH] Updated base.html to fix issue #2404. --- pelican/themes/simple/templates/base.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/pelican/themes/simple/templates/base.html b/pelican/themes/simple/templates/base.html index 00aa3836..a1fdcf78 100644 --- a/pelican/themes/simple/templates/base.html +++ b/pelican/themes/simple/templates/base.html @@ -43,12 +43,11 @@ {% for p in pages %} {{ p.title }} {% endfor %} - {% else %} - {% if DISPLAY_CATEGORIES_ON_MENU %} - {% for cat, null in categories %} - {{ cat }} - {% endfor %} - {% endif %} + {% endif %} + {% if DISPLAY_CATEGORIES_ON_MENU %} + {% for cat, null in categories %} + {{ cat }} + {% endfor %} {% endif %} {% block content %}