From 522ab9e82b7e7b61f158cd6aab0ec6d51e688f23 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Wed, 9 Dec 2015 05:28:15 +0100 Subject: [PATCH] [enh] better handling of date for full-picture --- templates/sections/full-picture.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/sections/full-picture.html b/templates/sections/full-picture.html index 9fc4707..527512e 100644 --- a/templates/sections/full-picture.html +++ b/templates/sections/full-picture.html @@ -5,7 +5,7 @@

{{ section.text.title }}

{{ section.text.sub_title }}

-
{{ section.text.date }}
+ {% if section.text.date %}
{{ section.text.date.strftime("%d %B %Y") }}
{% endif %}
{% endif %}