From dc91aa5ed99bfa2390924ff7ab0ca5b8f59cd54a Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 29 Apr 2026 13:29:26 +0200 Subject: Added git repository entry in main menu --- hugo.toml | 24 ++++++++++++++++++++---- i18n/en.yaml | 3 ++- i18n/it.yaml | 3 ++- 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/hugo.toml b/hugo.toml index 2c94197..f9efca1 100644 --- a/hugo.toml +++ b/hugo.toml @@ -74,17 +74,25 @@ enableRobotsTXT = true name = "here" weight = 3 + [[languages.it.menus.main]] + identifier = "gitrepo" + url = "https://git.danix.xyz/" + name = "gitrepo" + weight = 4 + [languages.it.menus.main.params] + external = true + [[languages.it.menus.main]] identifier = "repository" pageRef = "/repository" name = "repo" - weight = 4 + weight = 5 [[languages.it.menus.main]] identifier = "legal" pageRef = "/is/legal" name = "legal" - weight = 5 + weight = 6 [languages.en] languageName = "EN" @@ -113,17 +121,25 @@ enableRobotsTXT = true name = "here" weight = 3 + [[languages.en.menus.main]] + identifier = "gitrepo" + url = "https://git.danix.xyz/" + name = "gitrepo" + weight = 4 + [languages.en.menus.main.params] + external = true + [[languages.en.menus.main]] identifier = "repository" pageRef = "/repository" name = "repo" - weight = 4 + weight = 5 [[languages.en.menus.main]] identifier = "legal" pageRef = "/is/legal" name = "legal" - weight = 5 + weight = 6 # Taxonomies [taxonomies] diff --git a/i18n/en.yaml b/i18n/en.yaml index bf35bb4..dcad3d2 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -3,7 +3,8 @@ home: "Home" articles: "Articles" about: "About" here: "Contact" -# repo: "Repo" +gitrepo: "Git Repository" +repo: "Repo" legal: "Privacy" language: "Language" toggleTheme: "Theme" diff --git a/i18n/it.yaml b/i18n/it.yaml index 31424ea..e0e7733 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -3,7 +3,8 @@ home: "Home" articles: "Articoli" about: "Chi Sono" here: "Contatti" -# repo: "Repo" +gitrepo: "Repository Git" +repo: "Repo" legal: "Privacy" language: "Lingua" toggleTheme: "Tema" -- cgit v1.2.3