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

44 lines
1014 B
Markdown

---
title: Aktuelles
process:
markdown: true
twig: true
admin:
children_display_order: collection
content:
items:
'@taxonomy':
type: event
order:
by: date
dir: asc
limit: '10'
pagination: true
event:
start: '17-04-2018 02:56'
end: '17-04-2018 02:56'
repeat: T
freq: monthly
until: ''
location: 'Marquardtei, Herrenberger Str. 34, im Nebenzimmer Silcherstube'
coordinates: '9.047282, 48.523950'
---
{% 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>