From 079b73239944cb361ff2e48b2264eb75a994314f Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Thu, 15 Jun 2023 13:53:01 +0200 Subject: [PATCH] Toevoegen van verleden tijd bij oude conferenties --- themes/nluug/layouts/evenementen/schedule-event.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/nluug/layouts/evenementen/schedule-event.html b/themes/nluug/layouts/evenementen/schedule-event.html index 5d4e431..ccc0820 100644 --- a/themes/nluug/layouts/evenementen/schedule-event.html +++ b/themes/nluug/layouts/evenementen/schedule-event.html @@ -43,7 +43,7 @@ {{ $compare_event_end_date := .Params.event_end | time.Format "2006-01-02" }} {{ if eq $compare_event_start_date $compare_event_end_date }}

Datum en tijd

-

Dit evenement vindt plaats op {{ .Params.event_start | time.Format ":date_full" }} ({{ .Params.event_start | time.Format "15:04" }}-{{ .Params.event_end | time.Format "15:04" }}).

+

Dit evenement {{ if ge now $event_start }}vond{{ else }}vindt{{ end}} plaats op {{ .Params.event_start | time.Format ":date_full" }} ({{ .Params.event_start | time.Format "15:04" }}-{{ .Params.event_end | time.Format "15:04" }}).

{{ else }}

Data