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:01:12 +02:00
committed by GitSync
parent 870266e713
commit 8b075a89ce

View File

@ -0,0 +1,21 @@
---
---
{% 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>