Compare commits

...

2 commits

Author SHA1 Message Date
6875b82e61 Theme,CI: Update for hugo v0.158 (renamed LanguageCode to Locale)
All checks were successful
/ build (pull_request) Successful in 59s
2026-06-08 22:48:40 +02:00
63627e9b2b Theme,CI: Update for hugo v0.156 (.Site.Data) 2026-06-08 22:48:28 +02:00
4 changed files with 5 additions and 5 deletions

View file

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

View file

@ -1,5 +1,5 @@
baseURL = 'https://hamburg.ccc.de/'
languageCode = 'de-de'
locale = 'de-de'
defaultContentLanguage = 'de'
timeZone = 'Europe/Berlin'
title = 'CCC Hansestadt Hamburg e.V.'

View file

@ -37,7 +37,7 @@
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{ . }} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo</generator>
<language>{{ site.Language.LanguageCode }}</language>{{ with $authorEmail }}
<language>{{ site.Language.Locale }}</language>{{ with $authorEmail }}
<managingEditor>{{.}}{{ with $authorName }} ({{ . }}){{ end }}</managingEditor>{{ end }}{{ with $authorEmail }}
<webMaster>{{ . }}{{ with $authorName }} ({{ . }}){{ end }}</webMaster>{{ end }}{{ with .Site.Copyright }}
<copyright>{{ . }}</copyright>{{ end }}{{ if not .Date.IsZero }}

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