diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index 2fbf515952..d9fe223158 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -7,9 +7,6 @@
{%- block extrahead %} {% endblock %}
-
-
-
{%- block css %}
{%- for css in css_files %}
{%- if css|attr("filename") %}
@@ -19,6 +16,9 @@
{%- endif %}
{%- endfor %}
{%- endblock %}
+
+
+
{%- block scripts %}
{%- for js in script_files %}