Update hugo.yml to enhance language support and improve UI elements

This commit is contained in:
gribse 2025-04-18 18:31:56 +02:00
parent 55790700c7
commit bfd32eed37

View file

@ -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: "<platform>"
url: "<link>"
- name: "<platform 2>"
url: "<link2>"
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: