From: Emilie Date: Fri, 2 Sep 2016 14:03:11 +0000 (+0200) Subject: Template : correcting generic card X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=b1d6d3bc9cb1e272eed4aecb64c10b5285270745;p=mezzo.git Template : correcting generic card --- diff --git a/app/templates/home/inc/generic_card.html b/app/templates/home/inc/generic_card.html index 662c26d7..b74bb8f4 100644 --- a/app/templates/home/inc/generic_card.html +++ b/app/templates/home/inc/generic_card.html @@ -3,7 +3,7 @@

{{ body.content_object.description|slice:":500" }}

{% with body.content_object.images.all|get_type:'card' as image %} {% if image %} -
+
{% endif %} {% endwith %} {{ body.content_object.title }}