diff --git a/themes/nluug/layouts/index.html b/themes/nluug/layouts/index.html index af95b6f..47ad247 100644 --- a/themes/nluug/layouts/index.html +++ b/themes/nluug/layouts/index.html @@ -23,8 +23,9 @@

Aankomende evenementen

{{ range $upcoming_events }} - {{ $date_start := .date_start | time }} - {{ if ge $date_start now }} + {{ $date_start := .date_start | time.Format "2006-01-02" }} + {{ $t := time.Now | time.Format "2006-01-02" }} + {{ if ge $date_start $t }} {{ if eq .highlight_on_homepage true }}

{{ .name }}