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

15 lines
566 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">
<h2 class="textbox inline-block">{{ site.data.date-locales[page.lang].full_weekday[weekday] }} - {{ date }}</h2>
<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>