aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tyrian_sphinx_theme/layout.html6
-rw-r--r--tyrian_sphinx_theme/theme.conf2
2 files changed, 4 insertions, 4 deletions
diff --git a/tyrian_sphinx_theme/layout.html b/tyrian_sphinx_theme/layout.html
index 3e8accc..b18f02e 100644
--- a/tyrian_sphinx_theme/layout.html
+++ b/tyrian_sphinx_theme/layout.html
@@ -25,9 +25,9 @@
{%- endmacro %}
{%- macro css() %}
- <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
- <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
- <link rel="stylesheet" href="{{ pathto('_static/custom.css', 1) }}" type="text/css" />
+{%- for css in css_files %}
+ {{ css_tag(css) }}
+{%- endfor %}
<link rel="icon" href="https://www.gentoo.org/favicon.ico" type="image/x-icon">
<link href="https://assets.gentoo.org/tyrian/bootstrap.min.css" rel="stylesheet" media="screen">
diff --git a/tyrian_sphinx_theme/theme.conf b/tyrian_sphinx_theme/theme.conf
index 60ccefb..3616f25 100644
--- a/tyrian_sphinx_theme/theme.conf
+++ b/tyrian_sphinx_theme/theme.conf
@@ -1,6 +1,6 @@
[theme]
inherit = basic
-stylesheet = tyrian-sphinx-theme.css
+stylesheet = tyrian-sphinx-theme.css,custom.css
sidebars = localtoc.html
[options]