From 6bcb6ffdc0b71cf4c9753296fb62a08a2122c67c Mon Sep 17 00:00:00 2001 From: para <157126561+mdegallaix@users.noreply.github.com> Date: Fri, 13 Nov 2026 22:56:19 +0100 Subject: [PATCH] Correction configuration de la pagination + ajout sous module static duirectement dans hugo --- site/hugo.toml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/site/hugo.toml b/site/hugo.toml index 9cf8c90..d834d27 100644 --- a/site/hugo.toml +++ b/site/hugo.toml @@ -7,21 +7,33 @@ copyright = "AGPLv3" # 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" ] -[minify] - minifyOutput = true - enableRobotsTXT = true enableGitInfo = false enableEmoji = false +# silly-rss est un sous-module git (dépôt séparé). Seul son dossier php/ est +# publié, sous /silly-rss/. Déclarer un montage "static" remplace celui par +# défaut, d'où la redéclaration du dossier static habituel. +[module] + [[module.mounts]] + source = "static" + target = "static" + [[module.mounts]] + source = "silly-rss/php" + target = "static/silly-rss" + files = ["! .gitignore", "! cache/.gitkeep", "! cache/*.xml"] + +[pagination] + pagerSize = 3 + +[minify] + minifyOutput = true + [params] copyrightUrl = "https://www.gnu.org/licenses/agpl-3.0.html#license-text"