From db0a5d58fecbb16597d5fc177d5292cfbbcce888 Mon Sep 17 00:00:00 2001 From: Vezpi Date: Mon, 26 May 2025 12:00:06 +0000 Subject: [PATCH] Replace menu in each language --- hugo.yaml | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) diff --git a/hugo.yaml b/hugo.yaml index 7dcef22..41e7d7b 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -9,6 +9,19 @@ languages: en: languageName: English weight: 1 + menu: + - identifier: categories + name: Categories + weight: 40 + pageRef: /en/categories + params: + icon: categories + - identifier: tags + name: Tags + weight: 50 + pageRef: /en/tags + params: + icon: tag params: sidebar: subtitle: "Homelab & Automation" @@ -20,6 +33,19 @@ languages: fr: languageName: Français weight: 2 + menu: + - identifier: categories + name: Catégories + weight: 40 + pageRef: /fr/categories + params: + icon: categories + - identifier: tags + name: Mots Clés + weight: 50 + pageRef: /fr/tags + params: + icon: tag params: sidebar: subtitle: "Homelab & Automatisation" @@ -74,17 +100,7 @@ params: default: "dark" menu: - main: - - identifier: menu_categories - weight: 40 - pageRef: /categories - params: - icon: categories - - identifier: menu_tags - weight: 50 - pageRef: /tags - params: - icon: tag + main: [] social: - identifier: "mail" name: Mail