Override Pygments CSS with theme CSS

This commit is contained in:
Matthias Geier 2020-10-24 15:21:31 +02:00
parent 3b85187ffa
commit 91f5448b25

View File

@ -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) }}