{{ define "main" }}
{{ .Content }}
<h2>Aankomende evenementen</h2>
{{ $upcoming_events := .Site.Data.evenementen.kalender }}
{{ $upcoming_events := sort $upcoming_events ".date_start" "desc" }}
<ul>
{{ range first 100 $upcoming_events }}
<li>{{ .date_start | dateFormat "02-01-2006" }} - {{ .name }}</li>
{{ end }}
</ul>