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"