From bbd72395dcf5abf908507a2c7bd1e1d26051a77a Mon Sep 17 00:00:00 2001 From: Patrick Mayr Date: Wed, 5 Jan 2022 22:51:53 +0000 Subject: [PATCH] fix didn't show the pinned post --- fet2020/templates/home.html | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fet2020/templates/home.html b/fet2020/templates/home.html index 549e8dab..418422dc 100644 --- a/fet2020/templates/home.html +++ b/fet2020/templates/home.html @@ -59,14 +59,20 @@ {% include 'posts/partials/_date_box.html' %} {% endfor %} - Kalender abonnieren + Kalender abonnieren

Zuletzt veröffentlicht

- + + {% if featured_post %} + {% with post=featured_event %} + {% include 'posts/partials/_posts_hero.html' %} + {% endwith %} + {% endif %} + {% for post in posts %} {% include 'posts/partials/_posts_hero.html' %} {% endfor %}