We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ce23ce commit b22a77fCopy full SHA for b22a77f
sphinx_rtd_theme/layout.html
@@ -29,11 +29,19 @@
29
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
30
{%- endif %}
31
{%- for css in css_files %}
32
- {{ css_tag(css) }}
+ {% if css|attr("filename") -%}
33
+ {{ css_tag(css) }}
34
+ {%- else -%}
35
+ <link rel="stylesheet" href="{{ pathto(css, 1)|escape }}" type="text/css" />
36
+ {%- endif %}
37
{%- endfor %}
38
39
{%- for cssfile in extra_css_files %}
- {{ css_tag(cssfile) }}
40
41
42
43
44
45
{%- endfor -%}
46
47
{#- FAVICON
0 commit comments