1
0
mirror of https://github.com/templis/lugtuebingen.git synced 2025-08-04 08:21:27 +02:00

(Grav GitSync) Automatic Commit from templis

This commit is contained in:
templis
2018-04-21 01:03:58 +02:00
committed by GitSync
parent 8b075a89ce
commit c8a14ef5b9

View File

@ -0,0 +1,45 @@
---
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>