diff --git a/sphinx_rtd_theme/layout.html b/sphinx_rtd_theme/layout.html index c6e2514c..1baeb7c4 100644 --- a/sphinx_rtd_theme/layout.html +++ b/sphinx_rtd_theme/layout.html @@ -40,10 +40,7 @@ {% endif %} - {# RTD hosts this file, so just load on non RTD builds #} - {%- if not READTHEDOCS %} - - {%- endif %} + {%- for css in css_files %} {%- if css|attr("rel") %} @@ -208,10 +205,7 @@ {% endif %} - {# RTD hosts this file, so just load on non RTD builds #} - {% if not READTHEDOCS %} - - {% endif %} +