rf-web/_includes/archive/archive-day.html

16 lines
653 B
HTML
Raw Normal View History

2020-11-22 20:08:43 +00:00
{% assign events = site.data.rf2020.events | sort: "date" %}
{% assign date = include.date | date: "%d.%m.%y" %}
{% assign dateClass = include.date | date: "%d-%m" %}
{% assign weekday = include.weekday %}
<div class="margin-64-bottom day-{{ dateClass }}">
<h3 class="textbox inline-block ">{{ site.data.date-locales[page.lang].full_weekday[weekday] }} - {{ date }}</h3>
<ul class="margin-16-bottom archive-grid" >
{% for event in events %}
{% assign eventDate = event.date | date: "%d.%m.%y" %}
{% if eventDate == date %}
{% include archive/archive-item.html event=event %}
{% endif %}
{% endfor %}
</ul>
</div>