diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index 412deb200..00686bd77 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -27,7 +27,7 @@
{% endif %}
- {%- if readthedocs %}
+ {%- if ON_READTHEDOCS %}