aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-07 21:28:53 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-11 18:36:50 -0700
commitef7a303d7078d93bc20836eafac26efb14de63a1 (patch)
tree1bbc95a559fb29e38536c493289cae0b17853154
parentUpdate configs (diff)
downloadsite-configs-ef7a303d7078d93bc20836eafac26efb14de63a1.zip
Fix section-from-path config order
For it to take effect, it has to be before scan-path.
-rw-r--r--roles/obsd_cgit/templates/cgitrc.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/obsd_cgit/templates/cgitrc.j2 b/roles/obsd_cgit/templates/cgitrc.j2
index 9fd96de..22fbdab 100644
--- a/roles/obsd_cgit/templates/cgitrc.j2
+++ b/roles/obsd_cgit/templates/cgitrc.j2
@@ -25,7 +25,7 @@ readme=:README.md
css=/cgit.css
logo=/cgit.png
virtual-root=/
-scan-path={{ cgit_repos_dir }}
section-from-path=1
+scan-path={{ cgit_repos_dir }}
cache-root={{ cgit_cache_dir }}
cache-size=1000