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

This commit is contained in:
jtbx 2026-05-23 18:40:48 +02:00
commit febd17bf78
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ jobs:
build:
runs-on: docker
container:
image: hugomods/hugo:exts-0.148.1
image: hugomods/hugo:exts-0.156.0
steps:
- name: Pipeline info
run: |

View file

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