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/
|
url: /blog/
|
||||||
weight: 10
|
weight: 10
|
||||||
- identifier: tags
|
- identifier: tags
|
||||||
name: tags
|
name: Tags
|
||||||
url: /tags/
|
url: /tags/
|
||||||
weight: 20
|
weight: 20
|
||||||
- identifier: a-propos
|
- identifier: a-propos
|
||||||
name: À propos
|
name: À propos
|
||||||
url: /a-propos/
|
url: /a-propos/
|
||||||
weight: 30
|
weight: 30
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
params:
|
params:
|
||||||
# defaultTheme: light
|
# defaultTheme: light
|
||||||
# defaultTheme: dark
|
# defaultTheme: dark
|
||||||
defaultTheme: auto # to switch between dark or light according to browser theme
|
defaultTheme: auto # to switch between dark or light according to browser theme
|
||||||
|
|
||||||
|
defaultContentLanguage: fr
|
||||||
|
defaultContentLanguageInSubdir: false
|
||||||
|
|
||||||
socialIcons: # optional
|
socialIcons: # optional
|
||||||
- name: "<platform>"
|
- name: "<platform>"
|
||||||
url: "<link>"
|
url: "<link>"
|
||||||
- name: "<platform 2>"
|
- name: "<platform 2>"
|
||||||
url: "<link2>"
|
url: "<link2>"
|
||||||
|
|
||||||
fuseOpts: # pour la recherche
|
fuseOpts: # pour la recherche
|
||||||
isCaseSensitive: false
|
isCaseSensitive: false
|
||||||
shouldSort: true
|
shouldSort: true
|
||||||
|
@ -40,11 +47,12 @@ params:
|
||||||
minMatchCharLength: 0
|
minMatchCharLength: 0
|
||||||
# limit: 10 # refer: https://www.fusejs.io/api/methods.html#search
|
# limit: 10 # refer: https://www.fusejs.io/api/methods.html#search
|
||||||
keys: ["title", "permalink", "summary", "content"]
|
keys: ["title", "permalink", "summary", "content"]
|
||||||
|
|
||||||
ShowReadingTime: true
|
ShowReadingTime: true
|
||||||
ShowBreadCrumbs: true
|
ShowBreadCrumbs: true
|
||||||
ShowPostNavLinks: true
|
ShowPostNavLinks: true
|
||||||
|
|
||||||
|
dateFormat: "2006-01-02" # Set the desired date format here
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
home:
|
home:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue