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