From ea3e738a246d88be2f9a16b2c08f2f393d2f6edb Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 5 Apr 2026 15:59:54 -0500 Subject: Switch cgitrc to scan-path on git/public/ with remove-suffix --- git/web/templates/cgitrc.j2 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'git/web/templates/cgitrc.j2') diff --git a/git/web/templates/cgitrc.j2 b/git/web/templates/cgitrc.j2 index 6c1a7ff..bf829c2 100644 --- a/git/web/templates/cgitrc.j2 +++ b/git/web/templates/cgitrc.j2 @@ -1,3 +1,4 @@ +scan-path={{cgit_scan_path}} remove-suffix=1 root-title=src.nth.io @@ -12,7 +13,3 @@ enable-log-linecount=1 source-filter=/usr/lib/cgit/filters/syntax-highlighting.py about-filter=/usr/lib/cgit/filters/about-formatting.sh - -{% for repo in cgit_repos %} -repo.path={{cgit_repos_dir}}{{repo}}.git -{% endfor %} -- cgit v1.2.3