From 94922d5229562687b06a6fe5d283aee195add67d 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 d7c24ca6..88406310 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 %}