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: build:
runs-on: docker runs-on: docker
container: container:
image: hugomods/hugo:exts-0.148.1 image: hugomods/hugo:exts-0.156.0
steps: steps:
- name: Pipeline info - name: Pipeline info
run: | run: |

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 }}