From 34eca590228a3b5c674eb4b8546143e8fa872929 Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Mon, 4 Mar 2024 18:51:15 +0000 Subject: [PATCH] Fix voor tonen evenementen (die vandaag zijn) --- themes/nluug/layouts/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 }}