Correction configuration de la pagination + ajout sous module static duirectement dans hugo
This commit is contained in:
1 parent
f261e28a47
commit
6bcb6ffdc0
1 file changed
+18
-6
+18
-6
@@ -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"
|
||||
|
||||
|
||||
Reference in new issue
Block a user