From 2ca614228ab06795209ce662aff587121a3a0b90 Mon Sep 17 00:00:00 2001 From: mathieu Date: Mon, 20 Jul 2026 02:55:15 +0200 Subject: [PATCH] Config hugo --- site/hugo.toml | 80 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 77 insertions(+), 3 deletions(-) diff --git a/site/hugo.toml b/site/hugo.toml index 805b6eb..0d4cb56 100644 --- a/site/hugo.toml +++ b/site/hugo.toml @@ -1,4 +1,78 @@ -baseURL = 'https://example.org/' -locale = 'en-us' -title = "sillycone-village" +baseURL = 'https://sillycone-village.akbar.nohost.me/' +locale = 'fr-fr' +title = "Sillycone Village" +copyright = "AGPLv3" + +# Utilisé seulement par dev.sh / hugo.sh en local (via switch-theme.sh). +# Ignoré par build-compare.sh, qui impose --theme à chaque build. theme = "gitlab.com/andy.sb/nojs" + +[pagination] + pagerSize = 3 + +# --- On retire le non essentiel pour alléger le site --- +disableKinds = [ + "taxonomy", + "term" +] + +enableRobotsTXT = true +enableGitInfo = false +enableEmoji = false + +[params] + copyrightUrl = "https://www.gnu.org/licenses/agpl-3.0.html#license-text" + + mode = "auto" # color-mode → light,dark,toggle,auto + useCDN = false + mathjax = false + katex = false + +[params.author] + name = "Mathieu Limonier" + url = "https://www.limonier.be" + +[markup] + [markup.highlight] + noClasses = false + [markup.goldmark.renderer] + unsafe = true + [markup.tableOfContents] + startLevel = 2 + endLevel = 4 + ordered = false + +[[params.social]] + name = "Courriel" + icon = "mail" + url = "mailto:info@sillycone-village.be" + +[[params.social]] + name = "Site personnel" + icon = "world" + url = "https://www.limonier.be" + +[[menu.main]] + name = "Accueil" + url = "/" + weight = 1 + +[[menu.main]] + name = "Services" + url = "/services" + weight = 2 + +[[menu.main]] + name = "Réalisations" + url = "/achievements" + weight = 3 + +[[menu.main]] + name = "À propos" + url = "/about" + weight = 4 + +[[menu.main]] + name = "Contact" + url = "/contact" + weight = 5 \ No newline at end of file