1
0
mirror of https://github.com/templis/lugtuebingen.git synced 2024-11-24 13:11:42 +01:00
lugtuebingen/pages/05.aktuelles/events.de.md

31 lines
696 B
Markdown
Raw Permalink Normal View History

---
title: Aktuelles
content:
items:
'@taxonomy':
type: event
order:
by: date
dir: asc
limit: '0'
pagination: false
---
{% set events =
page.collection({
'items':{
'@taxonomy.type':'event',
}
})
.dateRange(datetools.startOfMonth, datetools.endOfMonth)
.order('date', 'asc')
%}
<ul>
{% for event in events %}
<li class="h-event">
<a href="{{ event.url }}" class="p-name u-url">{{ event.title }}</a>
<time class="dt-start" datetime="{{ event.header.event.start|date('c') }}">{{ event.header.event.start|date('F j, Y') }}</time>
</li>
{% endfor %}
</ul>