diff --git a/docs/source/_templates/page.html b/docs/source/_templates/page.html
index 3d3e732fd2..a690f329a5 100644
--- a/docs/source/_templates/page.html
+++ b/docs/source/_templates/page.html
@@ -11,8 +11,11 @@
{%- extends "!page.html" %}
-{% block body -%}
+{%- block extrahead %}
+{% endblock %}
+
+{% block body -%}