From 1d2059660756f2c6a2e74a775bc728374dcb70f9 Mon Sep 17 00:00:00 2001 From: Vezpi Date: Thu, 22 May 2025 21:17:21 +0000 Subject: [PATCH] Move menu item under language --- hugo.yaml | 43 ++++++++++++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/hugo.yaml b/hugo.yaml index 96c0881..3a69253 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -11,6 +11,21 @@ languages: params: sidebar: subtitle: "Homelab & Automation" + + menu: + main: + - identifier: categories + name: Categories + url: /categories + weight: 50 + params: + icon: "categories" + - identifier: tags + name: Tags + url: /tags + weight: 60 + params: + icon: "tag" fr: languageName: Français @@ -18,6 +33,21 @@ languages: params: sidebar: subtitle: "Homelab & Automatisation" + + menu: + main: + - identifier: categories + name: Catégories + url: /fr/categories + weight: 50 + params: + icon: "categories" + - identifier: tags + name: Mots Clés + url: /fr/tags + weight: 60 + params: + icon: "tag" frontmatter: format: "yaml" @@ -64,19 +94,6 @@ params: colorScheme: toggle: true default: "dark" - -menu: - main: - - identifier: categories - pageRef: /categories - weight: 50 - params: - icon: "categories" - - Name: tags - pageRef: /tags - weight: 60 - params: - icon: "tag" social: - identifier: "mail"