mirror of
https://github.com/templis/lugtuebingen.git
synced 2024-11-01 03:33:59 +01:00
45 lines
1.0 KiB
Markdown
45 lines
1.0 KiB
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',
|
|
'@taxonomy.event_repeat':['S','U']
|
|
}
|
|
})
|
|
.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> |