Update hugo.yml to enhance language support and improve UI elements
This commit is contained in:
parent
55790700c7
commit
bfd32eed37
1 changed files with 10 additions and 2 deletions
12
hugo.yml
12
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: "<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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue