From e4b3b4b9d738b99b2e5be304c2a1461e25242c72 Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Thu, 7 May 2026 17:25:45 +0100 Subject: use the first path component of the repository path as the section name --- cgitrc | 3 +++ 1 file changed, 3 insertions(+) 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: -- cgit v1.2.3