From 044422e52a879bb4e9a233ec9fbcb1a51fd28679 Mon Sep 17 00:00:00 2001 From: yann64 Date: Sat, 6 Jul 2024 19:53:09 +0200 Subject: [PATCH] Nettoyage hugo.toml --- config/_default/hugo.toml | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml index b0b2986..94e75d4 100644 --- a/config/_default/hugo.toml +++ b/config/_default/hugo.toml @@ -1,26 +1,40 @@ baseURL = "https://barbel.synology.me" languageCode = "fr-fr" +DefaultContentLanguage = "fr" title = "yann64" theme = "ace-documentation" +pygmentsCodeFences = true +pygmentsStyle = "monokailight" + +defaultContentLanguageInSubdir= true +enableMissingTranslationPlaceholders = true [params] -toc = true -DisableSearch = false -DisableReadmoreNav = true +ordersectionsby = "weight" # ordersectionsby = "title" +disableSearch = false # default is false +disableReadmoreNav = true # set true to hide prev/next navigation, default is false +highlightClientSide = false # set true to use highlight.pack.js instead of the default hugo chroma highlighter +menushortcutsnewtab = true # set true to open shortcuts links to a new tab/window -sectionPagesMenu = 'main' +[markup] + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true + +[outputs] +home = [ "HTML", "RSS", "JSON"] [[menu.shortcuts]] name = "Généalogie" url = "https://barbel.synology.me/webtrees/" -weight = 10 +weight = 1 [[menu.shortcuts]] name = "" url = "https://git.barbel.synology.me/yann64/" -weight = 20 +weight = 2 [[menu.shortcuts]] name = "" url = "https://mastodon.social/@yann64" -weight = 30 +weight = 3