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

16 lines
658 B
HTML
Raw Normal View History

{% assign events = site.data.rf2020.events | sort: "date" %}
{% assign date = include.date | date: "%d.%m" %}
2020-09-23 15:03:45 +00:00
{% assign dateClass = include.date | date: "%d-%m" %}
{% assign weekday = include.weekday %}
2020-09-23 15:03:45 +00:00
<div class="content margin-64-bottom day-{{ dateClass }}">
2020-09-11 09:43:26 +00:00
<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>