Theme,CI: Update for hugo v0.158 (renamed LanguageCode to Locale)

This commit is contained in:
jtbx 2026-05-23 18:42:34 +02:00
commit 267dc4c3e1
3 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.156.0
image: hugomods/hugo:exts-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 }}