diff --git a/templates/header.html b/templates/header.html
index 4ef6ce47..78dea225 100644
--- a/templates/header.html
+++ b/templates/header.html
@@ -18,10 +18,10 @@
{% if not config.additional_javascript_compile %}
{% if not config.deferred_javascript %}
- {% for javascript in config.additional_javascript|merge(config.additional_javascript_defer) %}{% endfor %}
+ {% for javascript in config.additional_javascript|merge(config.additional_javascript_defer) %}{% endfor %}
{% else %}
- {% for javascript in config.additional_javascript %}{% endfor %}
- {% for javascript in config.additional_javascript_defer %}{% endfor %}
+ {% for javascript in config.additional_javascript %}{% endfor %}
+ {% for javascript in config.additional_javascript_defer %}{% endfor %}
{% endif %}
{% endif %}
{% if mod %}
diff --git a/templates/mod/ban_list.html b/templates/mod/ban_list.html
index 9e511b29..beae445f 100644
--- a/templates/mod/ban_list.html
+++ b/templates/mod/ban_list.html
@@ -1,10 +1,10 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -33,7 +33,7 @@
-
+
{% if token_json %}
diff --git a/templates/mod/pages.html b/templates/mod/pages.html
index c2395c02..f6be9487 100644
--- a/templates/mod/pages.html
+++ b/templates/mod/pages.html
@@ -1,4 +1,4 @@
-
+
{% if board %}
@@ -27,7 +27,7 @@
+
diff --git a/templates/mod/recent_posts.html b/templates/mod/recent_posts.html
index 8ee2e275..ba93bf60 100644
--- a/templates/mod/recent_posts.html
+++ b/templates/mod/recent_posts.html
@@ -1,5 +1,5 @@
-
-
+
+
{% if not posts %}
({% trans 'There are no active posts.' %})
{% else %}
diff --git a/templates/themes/calendar/calendar.html b/templates/themes/calendar/calendar.html
index eeb08f1c..bd348f27 100644
--- a/templates/themes/calendar/calendar.html
+++ b/templates/themes/calendar/calendar.html
@@ -11,8 +11,8 @@
{{ settings.title }}
{% include 'header.html' %}
-
-
+
+
@@ -25,11 +25,11 @@
-
+