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:
21
pages/05.aktuelles/modular.de.md
Normal file
21
pages/05.aktuelles/modular.de.md
Normal 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>
|
Reference in New Issue
Block a user