fix didn't show the pinned post
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user