From add9a458079ff2c1ce413f08491a123c1ea8fac8 Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Sat, 20 Apr 2019 20:50:34 +0300 Subject: [PATCH] pelican-css support --- templates/base.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/base.html b/templates/base.html index 7821db0..f62e3ec 100644 --- a/templates/base.html +++ b/templates/base.html @@ -78,6 +78,13 @@ {% if CUSTOM_CSS %} {% endif %} + {% if article %} + {% if article.styles %} + {% for style in article.styles %} + {{ style|format(SITEURL) }} + {% endfor %} + {% endif %} + {% endif %} {% if FEED_ALL_ATOM %}