diff --git a/templates/base.html b/templates/base.html index 105a236..7d2f38d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -9,6 +9,7 @@ + {% set PYGMENTS_CSS %}pygments/{{ PYGMENTS_STYLE|default('github') }}.min.css{% endset %} {% if USE_LESS %} @@ -16,11 +17,15 @@ {% endif %} - + {% if CUSTOM_CSS %} - + {% if 'assets' in PLUGINS %} + {% include 'partial/assets.html' %} + {% else %} + + {% endif %} {% endif %} {% if FEED_ALL_ATOM %} diff --git a/templates/partial/assets.html b/templates/partial/assets.html new file mode 100644 index 0000000..c9585d8 --- /dev/null +++ b/templates/partial/assets.html @@ -0,0 +1,3 @@ +{% assets CUSTOM_CSS, filters="cssmin", output="custom.min.css" %} + +{% endassets %}