From bfd32eed372f8e8490567b314bda879a74956928 Mon Sep 17 00:00:00 2001 From: gribse Date: Fri, 18 Apr 2025 18:31:56 +0200 Subject: [PATCH] Update hugo.yml to enhance language support and improve UI elements --- hugo.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/hugo.yml b/hugo.yml index 2f7cd21..84ebb07 100644 --- a/hugo.yml +++ b/hugo.yml @@ -14,23 +14,30 @@ menu: url: /blog/ weight: 10 - identifier: tags - name: tags + name: Tags url: /tags/ weight: 20 - identifier: a-propos name: À propos url: /a-propos/ weight: 30 + + + params: # defaultTheme: light # defaultTheme: dark defaultTheme: auto # to switch between dark or light according to browser theme + defaultContentLanguage: fr + defaultContentLanguageInSubdir: false + socialIcons: # optional - name: "" url: "" - name: "" url: "" + fuseOpts: # pour la recherche isCaseSensitive: false shouldSort: true @@ -40,11 +47,12 @@ params: minMatchCharLength: 0 # limit: 10 # refer: https://www.fusejs.io/api/methods.html#search keys: ["title", "permalink", "summary", "content"] + ShowReadingTime: true ShowBreadCrumbs: true ShowPostNavLinks: true - + dateFormat: "2006-01-02" # Set the desired date format here outputs: home: