summaryrefslogtreecommitdiffstats
path: root/ogcp/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'ogcp/templates/base.html')
-rw-r--r--ogcp/templates/base.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html
index 372381a..022801f 100644
--- a/ogcp/templates/base.html
+++ b/ogcp/templates/base.html
@@ -20,8 +20,8 @@
<div class="container-fluid flex-grow-1">
{% block container %}
<div class="row h-100">
- {# The sidebar is not visible on index #}
- {% if request.endpoint != "index" %}
+ {# The sidebar is not visible on index and login #}
+ {% if request.endpoint not in ["index", "login"] %}
<div id="sidebar" class="bg-light col-md-3 col-lg-2">
{% block sidebar %}{% endblock %}
</div>