diff --git a/templates/_base.html b/templates/_base.html
index 5c70fc6a0e..0990523531 100644
--- a/templates/_base.html
+++ b/templates/_base.html
@@ -7,6 +7,7 @@
+
{% block extracss %}{% endblock %}
diff --git a/templates/opensearch.xml b/templates/opensearch.xml
new file mode 100644
index 0000000000..9d2702dbe2
--- /dev/null
+++ b/templates/opensearch.xml
@@ -0,0 +1,8 @@
+
+
+ mathlib
+ Search mathlib docs
+ UTF-8
+ {{base_url}}/img/favicon.ico
+
+