7
0
Fork 0

Items voorzien van id ivm linken vanaf hoofdpagina

This commit is contained in:
Michael Boelen 2023-05-18 20:32:34 +02:00
parent 7ca282cae6
commit 9186ffe090

View file

@ -5,7 +5,7 @@
{{ $upcoming_events := .Site.Data.evenementen.kalender }} {{ $upcoming_events := .Site.Data.evenementen.kalender }}
{{ $upcoming_events := sort $upcoming_events ".date_start" "asc" }} {{ $upcoming_events := sort $upcoming_events ".date_start" "asc" }}
{{ range first 50 (where $upcoming_events "date_start" "gt" (dateFormat "2006-01-02" now)) }} {{ range first 50 (where $upcoming_events "date_start" "gt" (dateFormat "2006-01-02" now)) }}
<div style="border: 1px solid darkgray; border-radius: 2px; padding:10px; margin:2px;"> <div id="{{ anchorize (.date_start | dateFormat "2006-01-02") }}-{{ anchorize .name }}" style="border: 1px solid darkgray; border-radius: 2px; padding:10px; margin:2px;">
<h3>{{ .date_start | dateFormat "02-01-2006" }} - {{ .name }}</h3> <h3>{{ .date_start | dateFormat "02-01-2006" }} - {{ .name }}</h3>
{{ with .organizer }}<p><em>Georganizeerd door {{ .}}</em></p>{{ end }} {{ with .organizer }}<p><em>Georganizeerd door {{ .}}</em></p>{{ end }}
{{ if ne .date_start .date_end }} {{ if ne .date_start .date_end }}