From d55dd9e35179aad7066372ea6672925c22f0ba95 Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Wed, 3 Jun 2026 12:16:04 +0200 Subject: [PATCH 1/2] feat: replace hugo deprecations --- hugo.yaml | 6 ------ layouts/_default/baseof.html | 4 ++-- layouts/_default/rss.xml | 2 +- layouts/partials/footer.html | 6 +++--- layouts/partials/structuredData.html | 2 +- 5 files changed, 7 insertions(+), 13 deletions(-) diff --git a/hugo.yaml b/hugo.yaml index 60a0abe28..f51966b1c 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -5,18 +5,12 @@ defaultContentLanguage: "en" defaultContentLanguageInSubdir: true languages: en: - languageName: "English" - languageCode: en weight: 1 title: "FIP Guide – Fast. Clear. Community-based." de: - languageName: "Deutsch" - languageCode: de weight: 2 title: "FIP Guide – Schnell. Übersichtlich. Community-basiert." fr: - languageName: "Français" - languageCode: fr weight: 3 title: "FIP Guide – Rapide. Clair. Basé sur le partage." diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 91f93cc74..a8e58f7c8 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,7 +1,7 @@ {{ partial "head" . }} diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 028b1bcc9..ff05e6ed3 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -4,7 +4,7 @@ {{ .Site.Title }} {{ .Site.BaseURL }} {{ .Site.Params.description }} - {{ site.Language.LanguageCode }} + {{ site.Language.Locale }} {{ partial "header-logo" }} {{ range where .Site.RegularPages "Section" "news" }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 268fb179a..2ea5ab766 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,7 +1,7 @@