diff --git a/prosopopee/themes/exposure/templates/sections/full-picture.html b/prosopopee/themes/exposure/templates/sections/full-picture.html
index 7cbfbd3..4bfbf54 100644
--- a/prosopopee/themes/exposure/templates/sections/full-picture.html
+++ b/prosopopee/themes/exposure/templates/sections/full-picture.html
@@ -6,9 +6,9 @@
{{ section.text.title }}
{{ section.text.sub_title }}
- {% if section.text.date_end }
-
{{ section.text.date.strftime("%d %B %Y") }} to {{ section.text.date_end.strftime("%d %B %Y") }}
{% endif %}
- {% else }
+ {% if section.text.date_end %}
+
{{ section.text.date.strftime("%d %B %Y") }} to {{ section.text.date_end.strftime("%d %B %Y") }}
+ {% else %}
{% if section.text.date %}
{{ section.text.date.strftime("%d %B %Y") }}
{% endif %}
{% endif %}
diff --git a/prosopopee/themes/material/templates/sections/full-picture.html b/prosopopee/themes/material/templates/sections/full-picture.html
index 7fc1961..65a7afd 100644
--- a/prosopopee/themes/material/templates/sections/full-picture.html
+++ b/prosopopee/themes/material/templates/sections/full-picture.html
@@ -6,9 +6,9 @@
{{ section.text.title }}
{{ section.text.sub_title }}
- {% if section.text.date_end }
-
{{ section.text.date.strftime("%d %B %Y") }} to {{ section.text.date_end.strftime("%d %B %Y") }}
{% endif %}
- {% else }
+ {% if section.text.date_end %}
+
{{ section.text.date.strftime("%d %B %Y") }} to {{ section.text.date_end.strftime("%d %B %Y") }}
+ {% else %}
{% if section.text.date %}
{{ section.text.date.strftime("%d %B %Y") }}
{% endif %}
{% endif %}