diff --git a/swh/web/templates/layout.html b/swh/web/templates/layout.html
--- a/swh/web/templates/layout.html
+++ b/swh/web/templates/layout.html
@@ -67,7 +67,7 @@
- {% if "production" in DJANGO_SETTINGS_MODULE %}
+ {% if not swh_web_dev and not swh_web_staging %}