aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-07 17:25:45 +0100
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-07 17:25:45 +0100
commite4b3b4b9d738b99b2e5be304c2a1461e25242c72 (patch)
tree34b6d2ba5cc017d328b6244039bb382c1467b9b1
parentc1e9bf137944a1dffe7f3a9abc854382b638e7ab (diff)
downloadgit.zue.dev-e4b3b4b9d738b99b2e5be304c2a1461e25242c72.tar
git.zue.dev-e4b3b4b9d738b99b2e5be304c2a1461e25242c72.tar.gz
git.zue.dev-e4b3b4b9d738b99b2e5be304c2a1461e25242c72.tar.bz2
git.zue.dev-e4b3b4b9d738b99b2e5be304c2a1461e25242c72.tar.xz
git.zue.dev-e4b3b4b9d738b99b2e5be304c2a1461e25242c72.zip
use the first path component of the repository path as the section name
-rw-r--r--cgitrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgitrc b/cgitrc
index a4be584..f0930ef 100644
--- a/cgitrc
+++ b/cgitrc
@@ -34,6 +34,9 @@ scan-path=/srv/git
# this has to be empty for cgit to work with a reverse proxy
virtual-root=
+# use the first path component of the repository path as the section name
+section-from-path=1
+
#
# Search for these files in the root of the default branch of repositories
# for coming up with the about page: