diff --git a/Doc/tools/templates/layout.html b/Doc/tools/templates/layout.html
index 69c2ab6ae0519d..56023ebf962703 100644
--- a/Doc/tools/templates/layout.html
+++ b/Doc/tools/templates/layout.html
@@ -27,8 +27,7 @@
{% block extrahead %}
{% if builder == "html" and enable_analytics %}
-
-
+
{% endif %}
{% if builder != "htmlhelp" %}