mirror of
https://github.com/templis/lugtuebingen.git
synced 2024-11-25 13:31:42 +01:00
(Grav GitSync) Automatic Commit from templis
This commit is contained in:
parent
f18d760aab
commit
6fc50a9139
@ -24,15 +24,21 @@ event:
|
||||
coordinates: '9.047282, 48.523950'
|
||||
---
|
||||
|
||||
---
|
||||
title: Events
|
||||
content:
|
||||
items:
|
||||
'@taxonomy':
|
||||
type: event
|
||||
order:
|
||||
by: date
|
||||
dir: asc
|
||||
limit: '10'
|
||||
pagination: true
|
||||
---
|
||||
{% 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>
|
Loading…
Reference in New Issue
Block a user