From 44ee6de3113d32e489e820032a75bf990becaf4e Mon Sep 17 00:00:00 2001 From: BlueFox Date: Sun, 6 Apr 2025 10:43:26 +0200 Subject: [PATCH] Fixed translation links in mobile menu not working properly; improved translation --- hugo.toml | 2 ++ layouts/partials/mobile-menu.html | 29 ++++++++++++++++++++++++++++ public/de/404.html | 6 +++--- public/de/about/index.html | 6 +++--- public/de/categories/index.html | 6 +++--- public/de/index.html | 6 +++--- public/de/posts/index.html | 6 +++--- public/de/posts/one-word/index.html | 6 +++--- public/de/posts/test-post/index.html | 6 +++--- public/de/tags/index.html | 6 +++--- public/en/404.html | 4 ++-- public/en/about/index.html | 4 ++-- public/en/categories/index.html | 4 ++-- public/en/index.html | 4 ++-- public/en/posts/index.html | 4 ++-- public/en/posts/one-word/index.html | 4 ++-- public/en/posts/test-post/index.html | 4 ++-- public/en/tags/index.html | 4 ++-- 18 files changed, 71 insertions(+), 40 deletions(-) create mode 100644 layouts/partials/mobile-menu.html diff --git a/hugo.toml b/hugo.toml index d158418..a881963 100644 --- a/hugo.toml +++ b/hugo.toml @@ -87,6 +87,7 @@ pagination.pagerSize = 5 # set title for the table of contents # can be overridden in a page's front-matter TocTitle = "Table of Contents" # default + _menu = "Menu" _minute = "minute" _minutes = "minutes" _readingTime = "to read" @@ -135,6 +136,7 @@ pagination.pagerSize = 5 # set title for the table of contents # can be overridden in a page's front-matter TocTitle = "Inhaltsverzeichnis" # default + _menu = "Menü" _minute = "Minute" _minutes = "Minuten" _readingTime = "Lesezeit" diff --git a/layouts/partials/mobile-menu.html b/layouts/partials/mobile-menu.html new file mode 100644 index 0000000..6633785 --- /dev/null +++ b/layouts/partials/mobile-menu.html @@ -0,0 +1,29 @@ + diff --git a/public/de/404.html b/public/de/404.html index 3fe11fa..86c8425 100644 --- a/public/de/404.html +++ b/public/de/404.html @@ -107,7 +107,7 @@