From: Vladimír Vondruš Date: Sat, 9 Dec 2017 22:14:31 +0000 (+0100) Subject: theme: trim output coming from Pelican to avoid ugly empty lines. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=3c6151af4ccac9a2fd43b205a2f30b5d7860757f;p=blog.git theme: trim output coming from Pelican to avoid ugly empty lines. --- diff --git a/pelican-theme/templates/archives.html b/pelican-theme/templates/archives.html index 17920902..2ad7421b 100644 --- a/pelican-theme/templates/archives.html +++ b/pelican-theme/templates/archives.html @@ -32,7 +32,7 @@ (article.collapse_first is not defined and not M_COLLAPSE_FIRST_ARTICLE)) %}
-{{ article.content }} +{{ article.content|trim }} {% endif %}