We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
css_tag
1 parent 4874e94 commit d34b71bCopy full SHA for d34b71b
sphinx_rtd_theme/layout.html
@@ -29,15 +29,11 @@
29
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
30
{%- endif %}
31
{%- for css in css_files %}
32
- {%- if css|attr("rel") %}
33
- <link rel="{{ css.rel }}" href="{{ pathto(css.filename, 1) }}" type="text/css"{% if css.title is not none %} title="{{ css.title }}"{% endif %} />
34
- {%- else %}
35
- <link rel="stylesheet" href="{{ pathto(css, 1) }}" type="text/css" />
36
- {%- endif %}
+ {{ css_tag(css) }}
37
{%- endfor %}
38
39
{%- for cssfile in extra_css_files %}
40
- <link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
+ {{ css_tag(cssfile) }}
41
{%- endfor -%}
42
43
{#- FAVICON
0 commit comments