From 5d7c53bf1a76a2852a7660d5d937c50b0804aac1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 11 Oct 2017 21:39:04 +0200 Subject: [PATCH] theme: make it possible to provide more than one extra CSS for a page. To make it consistent with CSS_FILES. --- pelican-theme/templates/page.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 %} -- 2.30.2