Allow cssfiles added by sphinx extensions
Sphinx extensions support the concept of adding css files, which is often quite important in getting particular theming into components. The openstackdocstheme currently completely ignores this, which prevents it being used where sphinx extensions are needed. Change-Id: Ieb71a071796a37fcfaec2dde9aaa8b153adea27a
This commit is contained in:
parent
acbab4cd80
commit
50df6ac332
@ -9,6 +9,9 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
{{ metatags }}
|
||||
{% include 'css.html' %}
|
||||
{%- for cssfile in css_files %}
|
||||
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
|
||||
{%- endfor %}
|
||||
{# FAVICON #}
|
||||
{% if favicon %}
|
||||
<link rel="shortcut icon" href="{{ pathto('_static/favicon.ico') }}"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user