update welcome page (show five events in right order, on right side: show always one event)

This commit is contained in:
2020-10-04 23:48:09 +00:00
parent 7310df5630
commit 982dac1e91
4 changed files with 22 additions and 5 deletions

View File

@@ -29,7 +29,7 @@
<div class="medium-4 responsive-side-box cell">
<a href="{% url 'posts.index' %}"><h1>Neuigkeiten</h1></a>
<div class="article-row-section">
{% with post=featured_post %}
{% with post=featured_event %}
{% include 'posts/partials/_article_row.html' %}
{% endwith %}
{% for post in featured_meeting %}

View File

@@ -5,8 +5,8 @@
{% if post.subtitle is not None %}
<p class="article-row-content-description">{{post.subtitle}}</p>
{% endif %}
<p class="article-row-content-author">{{post.author}}</p>
<time class="article-row-content-time" datetime="2008-02-14 20:00">{{post.public_date}}</time>
<!--<p class="article-row-content-author">{{post.author}}</p>-->
<time class="article-row-content-time">{{post.event_start|date}}</time>
</div>
</article>
</a>