Theme: Update for hugo v0.156 (.Site.Data)

This commit is contained in:
jtbx 2026-05-23 18:40:48 +02:00
commit cb3851ca81

View file

@ -1,4 +1,4 @@
{{- index .Site.Data "calendar.json" }} {{- index hugo.Data "calendar.json" }}
<table> <table>
<thead> <thead>
<tr> <tr>
@ -8,7 +8,7 @@
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{{- range first 7 (sort $.Site.Data.calendar "dtstart" ) }} {{- range first 7 (sort hugo.Data.calendar "dtstart" ) }}
{{- if eq ._type "vevent"}} {{- if eq ._type "vevent"}}
<tr> <tr>
{{- $start := time .dtstart }} {{- $start := time .dtstart }}