diff --git a/sphinx_rtd_theme/layout.html b/sphinx_rtd_theme/layout.html index a83bdd29e..f3de11ad0 100644 --- a/sphinx_rtd_theme/layout.html +++ b/sphinx_rtd_theme/layout.html @@ -29,15 +29,11 @@ {%- endif %} {%- for css in css_files %} - {%- if css|attr("rel") %} - - {%- else %} - - {%- endif %} + {{ css_tag(css) }} {%- endfor %} {%- for cssfile in extra_css_files %} - + {{ css_tag(cssfile) }} {%- endfor -%} {#- FAVICON