diff --git a/themes/ccchh/layouts/index.html b/themes/ccchh/layouts/index.html index de777ea..648d077 100644 --- a/themes/ccchh/layouts/index.html +++ b/themes/ccchh/layouts/index.html @@ -5,7 +5,8 @@ {{- $events := where (.Site.GetPage "blog").Pages ".Params.categories" "event" }} - {{- $upcoming := where $events ".Params.date" "ge" now }} + {{- $lookback := time.ParseDuration "-6h" }} + {{- $upcoming := where $events ".Params.date" "ge" (time.Now.Add $lookback) }} {{ if $upcoming }}

Neuigkeiten