layout events

This commit is contained in:
2020-08-26 20:11:57 +00:00
parent e847a2bfc6
commit 9164f13c6a
5 changed files with 30 additions and 11 deletions

View File

@@ -2,8 +2,8 @@
<div class="date-box">
<span>
<span class="date-badge badge primary" style="">
<span class="date-badge-day">16</span>
<span class="date-badge-month">Apr</span>
<span class="date-badge-day">{{post.event_start_day}}</span>
<span class="date-badge-month">{{post.event_start_month}}</span>
</span></span>
<span class="date-text"><strong>{{post.title}}</strong></span>

View File

@@ -36,10 +36,17 @@
<hr>
{{post.body | safe}}
<hr>
tags:{{ post.get_tags }}
{% for tag in post.get_tagnames %}
{{tag |tags_to_url}}
{% endfor %}
<hr>
{{related_posts}}
<div class="grid-x grid-padding">
{% for post in related_posts %}
<div class="medium-6 large-4 small-12 cell">
{% include 'posts/partials/_posts_hero.html' %}
</div>
{% endfor %}
</div>
{% endblock %}
</div>
{% endblock %}fffsdfag