From cb3851ca81b5aa5c3affffaeab27ab2cb02d151e Mon Sep 17 00:00:00 2001 From: jtbx Date: Sat, 23 May 2026 18:40:48 +0200 Subject: [PATCH] Theme: Update for hugo v0.156 (.Site.Data) --- themes/ccchh/layouts/shortcodes/calendar-table.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/ccchh/layouts/shortcodes/calendar-table.html b/themes/ccchh/layouts/shortcodes/calendar-table.html index ecc37a5..fb17e2a 100644 --- a/themes/ccchh/layouts/shortcodes/calendar-table.html +++ b/themes/ccchh/layouts/shortcodes/calendar-table.html @@ -1,4 +1,4 @@ -{{- index .Site.Data "calendar.json" }} +{{- index hugo.Data "calendar.json" }} @@ -8,7 +8,7 @@ - {{- range first 7 (sort $.Site.Data.calendar "dtstart" ) }} + {{- range first 7 (sort hugo.Data.calendar "dtstart" ) }} {{- if eq ._type "vevent"}} {{- $start := time .dtstart }}