From 6ca29d4f0836bb6533d5b8ce94d79186db5c5b8b Mon Sep 17 00:00:00 2001 From: eine Date: Fri, 3 Jan 2020 07:36:49 +0100 Subject: [PATCH] fix flickering issues by changing order of meta tags (readthedocs/sphinx_rtd_theme#853) --- sphinx_rtd_theme/head.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/sphinx_rtd_theme/head.html b/sphinx_rtd_theme/head.html index 5281642f1..db8f9209e 100644 --- a/sphinx_rtd_theme/head.html +++ b/sphinx_rtd_theme/head.html @@ -14,6 +14,21 @@ {% endif %} +{# CSS #} + + +{%- for css in css_files %} + {%- if css|attr("rel") %} + + {%- else %} + + {%- endif %} +{%- endfor %} + +{%- for cssfile in extra_css_files %} + +{%- endfor %} + {# JAVASCRIPTS #} {%- block scripts %}