Files
Notebook/hugo.yaml
Damien f49c0f45dd Add bilingual French/English support with Hugo multilingual config
Configure Hugo multilingual mode (fr default, en secondary) with
Hextra's language-switch menu entry, and translate all existing
content pages to English using Hugo's per-file language suffix
convention (.en.md alongside .fr.md).
2026-07-18 09:48:18 +02:00

85 lines
1.5 KiB
YAML

baseURL: "https://darnodo.github.io/"
title: 🧑‍💻 Notebook
theme: hextra
defaultContentLanguage: fr
languages:
fr:
label: Français
locale: fr-FR
weight: 1
en:
label: English
locale: en-US
weight: 2
menu:
main:
- name: Documentation
pageRef: /documentation
weight: 1
- name: Netlab
pageRef: /netlab
weight: 2
- name: Blog
pageRef: /blog
weight: 3
- name: About
pageRef: /about
weight: 4
- name: Search
weight: 5
params:
type: search
- name: Language
weight: 6
params:
type: language-switch
label: true
- name: Gitea
weight: 7
url: "https://gitea.arnodo.fr/Damien"
params:
icon: gitea
params:
theme:
default: light
displayToggle: true
# Navbar
navbar:
displayTitle: true
displayLogo: true
# Logo
logo:
path: images/logo.svg
width: 40
height: 20
# Search
search:
enable: true
type: flexsearch
flexsearch:
# index page by: content | summary | heading | title
index: heading
# Blog
blog:
list:
displayTags: true
sortBy: date
sortOrder: desc
pagerSize: 10
article:
displayPagination: true
markup:
goldmark:
renderer:
unsafe: true
deployment:
targets:
- name: "notebook-arnodo-fr"
URL: "s3://notebook-arnodo-fr?endpoint=https://s3.fr-par.scw.cloud&region=fr-par"