diff options
| author | Danilo M. <danix@danix.xyz> | 2026-06-26 17:19:19 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-06-26 17:19:19 +0200 |
| commit | 2a9dd406eca68652cd57eb040c0adf69da67a68e (patch) | |
| tree | 95bef86b3f7416389cd82c9fdfb80a55199fe585 | |
| parent | 1cdf6d6bff9ef48904c6b48ced274da7017307a8 (diff) | |
| download | danixxyz-2a9dd406eca68652cd57eb040c0adf69da67a68e.tar.gz danixxyz-2a9dd406eca68652cd57eb040c0adf69da67a68e.zip | |
fix: external Projects menu item shows localized label not raw name
External menu items render .Name literally (bypass i18n), so set the
display string per-language in hugo.toml. Drop now-orphan gitrepo i18n key.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
| -rw-r--r-- | hugo.toml | 4 | ||||
| -rw-r--r-- | i18n/en.yaml | 1 | ||||
| -rw-r--r-- | i18n/it.yaml | 1 |
3 files changed, 2 insertions, 4 deletions
@@ -77,7 +77,7 @@ enableEmoji = true [[languages.it.menus.main]] identifier = "gitrepo" url = "https://git.danix.xyz/" - name = "gitrepo" + name = "Progetti" weight = 4 [languages.it.menus.main.params] external = true @@ -131,7 +131,7 @@ enableEmoji = true [[languages.en.menus.main]] identifier = "gitrepo" url = "https://git.danix.xyz/" - name = "gitrepo" + name = "Projects" weight = 4 [languages.en.menus.main.params] external = true diff --git a/i18n/en.yaml b/i18n/en.yaml index 7e9e935..658c962 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -5,7 +5,6 @@ home: "Home" articles: "Articles" about: "About" here: "Contact" -gitrepo: "Projects" repo: "Packages" legal: "Privacy" language: "Language" diff --git a/i18n/it.yaml b/i18n/it.yaml index dd925ad..402203a 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -5,7 +5,6 @@ home: "Home" articles: "Articoli" about: "Chi Sono" here: "Contatti" -gitrepo: "Progetti" repo: "Pacchetti" legal: "Privacy" language: "Lingua" |
