From 4f4d2c0fc61177ea6c59af1e2269f2ccdc6c1ad8 Mon Sep 17 00:00:00 2001 From: jtbx Date: Fri, 3 Nov 2023 21:14:06 +0100 Subject: [PATCH] calendar-table: Limit to next 7 events --- themes/ccchh/layouts/shortcodes/calendar-table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/ccchh/layouts/shortcodes/calendar-table.html b/themes/ccchh/layouts/shortcodes/calendar-table.html index 15189d7..50bd2d4 100644 --- a/themes/ccchh/layouts/shortcodes/calendar-table.html +++ b/themes/ccchh/layouts/shortcodes/calendar-table.html @@ -8,7 +8,7 @@ - {{- range first 10 (sort $.Site.Data.calendar "dtstart" ) }} + {{- range first 7 (sort $.Site.Data.calendar "dtstart" ) }} {{- if eq ._type "vevent"}} {{- $start := time .dtstart }}