diff --git a/docs/source/_templates/layout.html b/docs/source/_templates/layout.html
index 19de35fc5e..69861af39d 100644
--- a/docs/source/_templates/layout.html
+++ b/docs/source/_templates/layout.html
@@ -1,20 +1,6 @@
{% extends "!layout.html" %}
{% block sidebartitle %}
{{ super() }}
-
-
API reference
-
-
-
{% endblock %}
diff --git a/docs/source/_templates/layout_for_doc_website.html b/docs/source/_templates/layout_for_doc_website.html
new file mode 100644
index 0000000000..2b76203b8d
--- /dev/null
+++ b/docs/source/_templates/layout_for_doc_website.html
@@ -0,0 +1,21 @@
+
+
+{% extends "!layout.html" %}
+{% block sidebartitle %}
+{{ super() }}
+
+API reference
+{% endblock %}
+
+{% block footer %}
+
+{% endblock %}