From: Vladimír Vondruš Date: Thu, 13 Sep 2018 12:59:19 +0000 (+0200) Subject: theme: make article date splitting more robust. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=27f6d51dc57d0c55e3515bc959db7e78766a2c05;p=blog.git theme: make article date splitting more robust. This could fail in case there are spaces in some of the generated values. Still not ideal, should be made configurable (locale-dependent order etc). --- diff --git a/pelican-theme/templates/article_header.html b/pelican-theme/templates/article_header.html index 57ec83c6..2ec0e1d2 100644 --- a/pelican-theme/templates/article_header.html +++ b/pelican-theme/templates/article_header.html @@ -1,8 +1,10 @@

{{ article.title }} {% if article.status == 'draft' %}