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

15 lines
594 B
HTML
Raw Normal View History

{% assign events = site.data.rf2020.events | sort: "date" %}
{% assign date = include.date | date: "%d.%m" %}
{% assign weekday = include.weekday %}
<div class="content margin-64-bottom {{ date }}">
<h3 class="textbox inline-block">{{ site.data.date-locales[page.lang].full_weekday[weekday] }} - {{ date }}</h3>
<ul class="prog-list margin-16-bottom block" >
{% for event in events %}
{% assign eventDate = event.date | date: "%d.%m" %}
{% if eventDate == date %}
{% include program/program-item.html event=event %}
{% endif %}
{% endfor %}
</ul>
</div>