From bc28774be9ad805957d50b644955542abf18bead Mon Sep 17 00:00:00 2001 From: Christian Gick Date: Thu, 2 Apr 2026 18:04:22 +0300 Subject: [PATCH] fix: add contentDir, footer legal links (Impressum + Datenschutz) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Restore contentDir for EN/DE (lost in config migration) - Fixes /about/ 404 and DE content nesting under /en/ - Add Impressum + Datenschutzerklärung footer links to agiliton.eu Co-Authored-By: Claude Opus 4.6 (1M context) --- config/_default/languages.de.toml | 17 +++++++++++++++++ config/_default/languages.en.toml | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/config/_default/languages.de.toml b/config/_default/languages.de.toml index 5f7c411..8ec665a 100644 --- a/config/_default/languages.de.toml +++ b/config/_default/languages.de.toml @@ -4,6 +4,7 @@ languageDirection = "ltr" weight = 2 title = "Internet für Kinder" +contentDir = "content/de" [params] description = "Experteneinblicke zu Kinderschutzgesetzen, Online-Sicherheit und digitalem Familienschutz weltweit." @@ -28,3 +29,19 @@ title = "Internet für Kinder" name = "Themen" url = "/tags/" weight = 3 + +[[menus.footer]] + identifier = "impressum" + name = "Impressum" + url = "https://www.agiliton.eu/impressum" + weight = 1 + [menus.footer.params] + external = true + +[[menus.footer]] + identifier = "privacy" + name = "Datenschutzerklärung" + url = "https://www.agiliton.eu/datenschutz" + weight = 2 + [menus.footer.params] + external = true diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml index 3e19ed5..3e4e099 100644 --- a/config/_default/languages.en.toml +++ b/config/_default/languages.en.toml @@ -4,6 +4,7 @@ languageDirection = "ltr" weight = 1 title = "Internet for Kids" +contentDir = "content/en" [params] description = "Expert insights on child protection laws, online safety, and digital family protection worldwide." @@ -28,3 +29,19 @@ title = "Internet for Kids" name = "Topics" url = "/tags/" weight = 3 + +[[menus.footer]] + identifier = "impressum" + name = "Imprint" + url = "https://www.agiliton.eu/impressum" + weight = 1 + [menus.footer.params] + external = true + +[[menus.footer]] + identifier = "privacy" + name = "Privacy Policy" + url = "https://www.agiliton.eu/datenschutz" + weight = 2 + [menus.footer.params] + external = true