view fixes

This commit is contained in:
2020-08-24 06:32:03 +00:00
parent 1311afad9b
commit ff6473dddc
9 changed files with 57 additions and 55 deletions

View File

@@ -32,36 +32,11 @@
</a>
<div class="article-row-section">
{% with post=featured_post %}
<a href="{{post.url}}">
<article class="article-row">
<div class="article-row-content">
<h1 class="article-row-content-header">{{post.title}}</h1>
<p class="article-row-content-description">{{post.subtitle}}</p>
<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>
</div>
</article>
</a>
{% include 'posts/partials/_article_row.html' %}
{% endwith %}
{% with post=featured_post2 %}
{% include 'posts/partials/_article_row.html' %}
{% endwith %}
<a href="#">
<article class="article-row">
<div class="article-row-content">
<h1 class="article-row-content-header">Nächste Fachschaftssitzung</h1>
<p class="article-row-content-description">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Labore accusamus sint quas, odit, enim architecto officiis culpa!</p>
<p class="article-row-content-author">By Yeti</p>
<time class="article-row-content-time" datetime="2008-02-14 20:00">July 14th 2021</time>
</div>
</article>
</a>
</div>
</div>
@@ -74,27 +49,19 @@
<div class="grid-x grid-x-padding">
<div class="medium-8 cell">
<div class="medium-8 small-12 small-order-2 medium-order-1"">
{% for post in posts %}
{% include 'posts/partials/_posts_hero.html' %}
{% endfor %}
</div>
<div class="medium-4 cell">
<div class="date-box">
<span class="date-badge badge primary" style="">
<span class="date-badge-day">16</span>
<span class="date-badge-month">Apr</span>
</span>
<span class="date-text"><strong>Title</strong></span>
</div>
<div class="medium-4 small-12 small-order-1 medium-order-2 padding-1">
{% for post in events %}
{% include 'posts/partials/_date_box.html' %}
{% endfor %}
</div>
</div>
</div>
{% endblock %}