diff --git a/templates/basehead.html b/templates/basehead.html
index 2fc2410f49..9cc5d20c79 100644
--- a/templates/basehead.html
+++ b/templates/basehead.html
@@ -7,29 +7,29 @@
type="image/x-icon" />
{% if user.theme and user.theme != "default" %}
-
+
{% else %}
-
+
{% endif %}
{% if not simple_extra_static or user.is_authenticated %}
-
-
-
+
+
+
{% endif %}
-
-
+
+
{% if not simple_extra_static or user.is_authenticated %}
-
-
-
-
-
+
+
+
+
+
{% endif %}