diff --git a/searx/templates/index.html b/searx/templates/index.html
index a25b84164..daff22b42 100644
--- a/searx/templates/index.html
+++ b/searx/templates/index.html
@@ -5,14 +5,6 @@
searx
-
+ {% include 'search.html' %}
{% endblock %}
diff --git a/searx/templates/results.html b/searx/templates/results.html
index 8d2683a74..c5eee4dd1 100644
--- a/searx/templates/results.html
+++ b/searx/templates/results.html
@@ -1,9 +1,6 @@
{% extends "base.html" %}
{% block content %}
-
+{% include 'search.html' %}
{% for result in results %}
diff --git a/searx/templates/search.html b/searx/templates/search.html
new file mode 100644
index 000000000..49331a141
--- /dev/null
+++ b/searx/templates/search.html
@@ -0,0 +1,9 @@
+