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 %}