diff --git a/doc/en/_templates/localtoc.html b/doc/en/_templates/localtoc.html
index 25d56cad0..83af3aa88 100644
--- a/doc/en/_templates/localtoc.html
+++ b/doc/en/_templates/localtoc.html
@@ -1,16 +1,3 @@
-
-{%- if pagename != "search" %}
-
-
-
-
-{%- endif %}
-
quicklinks
diff --git a/doc/en/_templates/searchbox.html b/doc/en/_templates/searchbox.html
index e69de29bb..4fd92f369 100644
--- a/doc/en/_templates/searchbox.html
+++ b/doc/en/_templates/searchbox.html
@@ -0,0 +1,11 @@
+{%- if pagename != "search" %}
+
+
+
+
+{%- endif %}