From 995fbf24443fb37e15344c4e5f181e4604147389 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Wed, 16 May 2018 14:03:43 +0200 Subject: [PATCH] Avoid displaying 'None'. --- templates/post.html | 4 ++-- templates/posts.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/post.html b/templates/post.html index 36e14ff..8adb314 100644 --- a/templates/post.html +++ b/templates/post.html @@ -11,7 +11,7 @@

- {{ post.summary | safe }} + {{ post.summary | safe if post.summary }}

{% if post.image %} @@ -21,7 +21,7 @@ {% if name == 'emplois' %}