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: build:
runs-on: docker runs-on: docker
container: container:
image: hugomods/hugo:exts-0.156.0 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 }}