From 27f6d51dc57d0c55e3515bc959db7e78766a2c05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 13 Sep 2018 14:59:19 +0200 Subject: [PATCH] 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). --- pelican-theme/templates/article_header.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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' %} -- 2.30.2