diff --git a/themes/nluug/layouts/index.html b/themes/nluug/layouts/index.html index 9833b18..af95b6f 100644 --- a/themes/nluug/layouts/index.html +++ b/themes/nluug/layouts/index.html @@ -23,21 +23,24 @@
Datum
Locatie
- {{ with .event_location }}{{ . }}
{{ end }}
- {{ with .event_address }}
- {{ with .street_address }}{{ . }}{{ end }}
{{ with .postal_code }}{{ . }}{{ end }}{{ with .city }}, {{ . }}{{ end }}{{ with .country }}, {{ . }}{{ end }}
+ {{ $date_start := .date_start | time }}
+ {{ if ge $date_start now }}
+ {{ if eq .highlight_on_homepage true }}
+
Datum
Locatie
+ {{ with .event_location }}{{ . }}
{{ end }}
+ {{ with .event_address }}
+ {{ with .street_address }}{{ . }}{{ end }}
{{ with .postal_code }}{{ . }}{{ end }}{{ with .city }}, {{ . }}{{ end }}{{ with .country }}, {{ . }}{{ end }}
+ {{ end }}
+