From: Emilie Date: Fri, 21 Oct 2016 10:27:01 +0000 (+0200) Subject: Task #265: bug > readding custompage card on home X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=376e1720d9730b99484fed592ff75c90f6165740;p=mezzo.git Task #265: bug > readding custompage card on home --- diff --git a/app/templates/home/inc/body.html b/app/templates/home/inc/body.html index a360724e..f8b73838 100644 --- a/app/templates/home/inc/body.html +++ b/app/templates/home/inc/body.html @@ -12,6 +12,10 @@ {% with content.content_object as event %} {% include "agenda/includes/event_card.html" %} {% endwith %} + {% elif content.content_type.model == "custompage" %} + {% with content.content_object as page %} + {% include "pages/includes/page_card.html" %} + {% endwith %} {% endif %} {% endfor %}