update welcome page (show five events in right order, on right side: show always one event)
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user