fix didn't show the pinned post

This commit is contained in:
2022-01-05 22:51:53 +00:00
parent 57f65e33fc
commit 94922d5229

View File

@@ -59,14 +59,20 @@
{% include 'posts/partials/_date_box.html' %}
{% endfor %}
<a href="https://fet.at/posts/fet_calendar.ics" class="btn btn-secondary block w-full"><i class="fas fa-calendar-alt mr-2"></i>Kalender abonnieren</a>
<a href="{% url 'posts:posts.calendar' %}" class="btn btn-secondary block w-full"><i class="fas fa-calendar-alt mr-2"></i>Kalender abonnieren</a>
</div>
</div>
</aside>
<section class="my-8 sm:my-0 sm:w-3/5 xl:w-2/5 flex flex-col gap-4">
<h2 class="section-title section-title-margins">Zuletzt veröffentlicht</h2>
{% 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 %}