From 52a9d1e397238096b4a0397b9a66d2030e29a557 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 1 Sep 2023 11:58:23 +0200 Subject: Fix CSS header compatibility with Sphinx-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- tyrian_sphinx_theme/layout.html | 6 +++--- tyrian_sphinx_theme/theme.conf | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tyrian_sphinx_theme') 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() %} - - - +{%- for css in css_files %} + {{ css_tag(css) }} +{%- endfor %} 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] -- cgit v1.2.3-65-gdbad