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.
|
# Ignoré par build-compare.sh, qui impose --theme à chaque build.
|
||||||
theme = "gitlab.com/andy.sb/nojs"
|
theme = "gitlab.com/andy.sb/nojs"
|
||||||
|
|
||||||
[pagination]
|
|
||||||
pagerSize = 3
|
|
||||||
|
|
||||||
# --- On retire le non essentiel pour alléger le site ---
|
# --- On retire le non essentiel pour alléger le site ---
|
||||||
disableKinds = [
|
disableKinds = [
|
||||||
"taxonomy",
|
"taxonomy",
|
||||||
"term"
|
"term"
|
||||||
]
|
]
|
||||||
[minify]
|
|
||||||
minifyOutput = true
|
|
||||||
|
|
||||||
enableRobotsTXT = true
|
enableRobotsTXT = true
|
||||||
enableGitInfo = false
|
enableGitInfo = false
|
||||||
enableEmoji = 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]
|
[params]
|
||||||
copyrightUrl = "https://www.gnu.org/licenses/agpl-3.0.html#license-text"
|
copyrightUrl = "https://www.gnu.org/licenses/agpl-3.0.html#license-text"
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user