diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-10-27 23:58:21 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-27 23:58:21 +0900 |
commit | 15d94fcfc1c2837fe7bd34c2abc298f18cfe3a36 (patch) | |
tree | 0834d5ca25cdf3b06f10735c7594ecd12ddebb54 /sphinx | |
parent | ca579303e72afb30d9f8ceeb985019b4d0d9e298 (diff) | |
parent | 91f5448b2596f30b26e413edbafa4917ece578e3 (diff) | |
download | sphinx-git-15d94fcfc1c2837fe7bd34c2abc298f18cfe3a36.tar.gz |
Merge pull request #8333 from mgeier/theme-css-after-pygments
Override Pygments CSS with theme CSS
Diffstat (limited to 'sphinx')
-rw-r--r-- | sphinx/themes/basic/layout.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/themes/basic/layout.html b/sphinx/themes/basic/layout.html index 9163a18a2..131d2c533 100644 --- a/sphinx/themes/basic/layout.html +++ b/sphinx/themes/basic/layout.html @@ -95,8 +95,8 @@ {%- endmacro %} {%- macro css() %} - <link rel="stylesheet" href="{{ pathto('_static/' + style, 1)|e }}" type="text/css" /> <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" /> + <link rel="stylesheet" href="{{ pathto('_static/' + style, 1)|e }}" type="text/css" /> {%- for css in css_files %} {%- if css|attr("filename") %} {{ css_tag(css) }} |