diff --git a/python_docs_theme/layout.html b/python_docs_theme/layout.html
index f830491..b4502ba 100644
--- a/python_docs_theme/layout.html
+++ b/python_docs_theme/layout.html
@@ -82,7 +82,12 @@
{{ _('Navigation') }}
{{ super() }}
{%- endblock -%}
-{%- block document %}
+{%- block css -%}
+
+ {{ super() }}
+{%- endblock -%}
+
+{%- block body_tag %}
{{ super() }}
{%- if builder != 'htmlhelp' %}