diff --git a/swh/web/templates/includes/breadcrumbs.html b/swh/web/templates/includes/breadcrumbs.html
index 5cfcbf04..8d27e30f 100644
--- a/swh/web/templates/includes/breadcrumbs.html
+++ b/swh/web/templates/includes/breadcrumbs.html
@@ -1,21 +1,24 @@
{% comment %}
Copyright (C) 2017-2018 The Software Heritage developers
See the AUTHORS file at the top-level directory of this distribution
License: GNU Affero General Public License version 3, or any later version
See top-level LICENSE file for more information
{% endcomment %}
-{% if breadcrumbs|length > 1 or breadcrumbs.0.url %}
-
+{% if breadcrumbs %}
+ {% if breadcrumbs|length > 1 or breadcrumbs.0.url %}
+
+ {% endif %}
{% endif %}
+