Compare commits

...

2 commits

Author SHA1 Message Date
58f9de807d Theme,CI: Update for hugo v0.158 (renamed LanguageCode to Locale)
Some checks failed
/ build (pull_request) Failing after 2s
2026-06-08 21:48:25 +02:00
122b3aeaf0 Theme,CI: Update for hugo v0.156 (.Site.Data) 2026-06-08 21:48:25 +02:00
4 changed files with 5 additions and 5 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.158.0
steps: steps:
- name: Pipeline info - name: Pipeline info
run: | run: |

View file

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

View file

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

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