mirror of
				https://github.com/templis/lugtuebingen.git
				synced 2025-11-03 22:08:02 +01:00 
			
		
		
		
	(Grav GitSync) Automatic Commit from templis
This commit is contained in:
		@ -24,15 +24,21 @@ event:
 | 
				
			|||||||
    coordinates: '9.047282, 48.523950'
 | 
					    coordinates: '9.047282, 48.523950'
 | 
				
			||||||
---
 | 
					---
 | 
				
			||||||
 | 
					
 | 
				
			||||||
---
 | 
					{% set events =
 | 
				
			||||||
title: Events
 | 
					    page.collection({
 | 
				
			||||||
content:
 | 
					        'items':{
 | 
				
			||||||
    items:
 | 
					            '@taxonomy.type':'event',
 | 
				
			||||||
        '@taxonomy':
 | 
					        }
 | 
				
			||||||
            type: event
 | 
					    })
 | 
				
			||||||
    order:
 | 
					    .dateRange(datetools.startOfMonth, datetools.endOfMonth)
 | 
				
			||||||
        by: date
 | 
					    .order('date', 'asc')
 | 
				
			||||||
        dir: asc
 | 
					%}
 | 
				
			||||||
    limit: '10'
 | 
					
 | 
				
			||||||
    pagination: true
 | 
					<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