From: Vladimír Vondruš Date: Wed, 11 Oct 2017 19:39:04 +0000 (+0200) Subject: theme: make it possible to provide more than one extra CSS for a page. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=5d7c53bf1a76a2852a7660d5d937c50b0804aac1;p=blog.git theme: make it possible to provide more than one extra CSS for a page. To make it consistent with CSS_FILES. --- diff --git a/pelican-theme/templates/page.html b/pelican-theme/templates/page.html index b760cef4..d516dd61 100644 --- a/pelican-theme/templates/page.html +++ b/pelican-theme/templates/page.html @@ -29,7 +29,10 @@ {% endif %} {% if page.css %} - + {% set styles = page.css.strip().split('\n') %} + {% for style in styles %} + + {% endfor %} {% endif %} {% endblock %}