2023-05-07 13:01:05 +02:00
{{ define "main" }}
2023-05-20 19:59:58 +02:00
< article >
2023-05-07 10:47:24 +02:00
{{ .Content }}
2023-05-07 13:01:05 +02:00
{{ if gt (len (where .Site.RegularPages "Section" "nieuws")) 0 }}
2023-05-17 20:58:43 +02:00
< section >
2023-05-07 13:01:05 +02:00
< h2 > Laatste nieuws< / h2 >
2023-05-12 20:21:20 +02:00
< ul class = "list" >
2023-05-17 20:58:43 +02:00
{{ range (first 5 (where .Site.RegularPages "Section" "nieuws").ByDate.Reverse) }}
2023-05-07 14:04:54 +02:00
< li >
2023-06-18 13:38:05 +02:00
< a class = "link" href = "{{ .RelPermalink }}" > {{ .Title }}< / a >
2023-05-07 14:04:54 +02:00
< hr class = "hr-list" >
2023-05-10 10:40:18 +02:00
< time class = "g time" datetime = "{{ dateFormat " 2006-01-02 " . Date } } " > {{ dateFormat "02-01-2006" .Date }}< / time >
2023-05-07 14:04:54 +02:00
< / li >
{{ end }}
< / ul >
2023-05-17 20:58:43 +02:00
< / section >
2023-05-07 10:47:24 +02:00
{{ end }}
2023-05-07 13:01:05 +02:00
2023-05-18 20:32:09 +02:00
< section >
2023-05-14 11:37:17 +02:00
{{ $upcoming_events := sort .Site.Data.evenementen.kalender "date_start" "asc" }}
2023-05-20 13:49:26 +02:00
< h2 > Aankomende evenementen< / h2 >
< div class = "three-column-grid" >
2023-05-10 14:36:33 +02:00
{{ range $upcoming_events }}
2023-11-30 14:52:50 +01:00
{{ $date_start := .date_start | time }}
{{ if ge $date_start now }}
{{ if eq .highlight_on_homepage true }}
< div class = "highlight-box highlight-box-{{ if .nluug_event }}nluug{{ else }}other{{end }}" >
< h3 > {{ .name }}< / h3 >
< p > < strong > Datum< / strong > < br > < time class = "g time" datetime = "{{ dateFormat " 2006-01-02 " . date_start } } " > {{ .date_start | time.Format ":date_full" | strings.FirstUpper }}< / time > < / p >
<!-- <div class="m - b - sm"> -->
{{ if .event_location }}
< p > < strong > Locatie< / strong > < br >
{{ with .event_location }}{{ . }}< br > {{ end }}
{{ with .event_address }}
{{ with .street_address }}{{ . }}{{ end }}< br > {{ with .postal_code }}{{ . }}{{ end }}{{ with .city }}, {{ . }}{{ end }}{{ with .country }}, {{ . }}{{ end }}
{{ end }}
< / p >
2023-05-17 21:07:17 +02:00
{{ end }}
2023-11-30 14:52:50 +01:00
{{ with .event_url }}< a href = "{{ . }}" class = "button" > Meer informatie< / a > {{ end }}
< / div >
{{ end }}
2023-05-10 14:36:33 +02:00
{{ end }}
{{ end }}
2023-05-20 13:49:26 +02:00
< / div >
2023-05-18 20:32:09 +02:00
< p > Naast de door ons georganiseerde evenementen staat er meer op de agenda.< / p >
2023-05-09 12:45:03 +02:00
< ul >
2023-05-20 19:59:58 +02:00
{{ range first 10 (where $upcoming_events "date_start" "ge" (dateFormat "2006-01-02" now)) }}
2023-05-24 00:54:58 +02:00
< li > < time datetime = "{{ .date_start | dateFormat " 2006-01-02 " } } " > {{ .date_start | dateFormat "02-01-2006" }}< / time > - < a href = "/evenementen/kalender/#{{ anchorize (.date_start | dateFormat " 2006-01-02 " ) } } - { { anchorize . name } } " > {{ .name }}< / a > < / li >
2023-05-09 12:45:03 +02:00
{{ end }}
< / ul >
2023-05-18 20:32:09 +02:00
< p > » < a href = "/evenementen/kalender/" > Volledige evenementenkalender< / a > < / p >
< / section >
{{ if gt (len (.Site.Data.projecten.open)) 0 }}
< section >
< h2 > Lopende projecten< / h2 >
< ul >
{{ range $.Site.Data.projecten.open }}
< li > {{ .name }} ({{ .description_short }})< / li >
{{ end }}
< / ul >
< p > Op de pagina < a href = "/projecten/" > Projecten< / a > beschrijven we deze en andere projecten. Meehelpen? Contacteer een actief projectlid voor meer informatie.< / p >
< / section >
{{ end }}
2023-05-20 19:59:58 +02:00
< / article >
2023-05-07 10:47:24 +02:00
{{ end }}