aboutsummaryrefslogtreecommitdiff
path: root/services/templates/cgitrc.template
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-28 16:18:56 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-28 16:33:19 +0800
commit4d3232069bbb6f89cbbf50ca64209d39fdfcd89f (patch)
tree031b86d225ed9690893a42296023c14ba1a0a984 /services/templates/cgitrc.template
parent0052b9d898e52584b53a4de219bdb58df20be0e1 (diff)
downloadcrupest-4d3232069bbb6f89cbbf50ca64209d39fdfcd89f.tar.gz
crupest-4d3232069bbb6f89cbbf50ca64209d39fdfcd89f.tar.bz2
crupest-4d3232069bbb6f89cbbf50ca64209d39fdfcd89f.zip
feat(git): use non-root and add robots.
Diffstat (limited to 'services/templates/cgitrc.template')
-rw-r--r--services/templates/cgitrc.template3
1 files changed, 1 insertions, 2 deletions
diff --git a/services/templates/cgitrc.template b/services/templates/cgitrc.template
index ffffaae..4cc88d2 100644
--- a/services/templates/cgitrc.template
+++ b/services/templates/cgitrc.template
@@ -10,12 +10,11 @@ enable-log-filecount=1
enable-log-linecount=1
section-from-path=1
-clone-url=@@CRUPEST_ROOT_URL@@/$CGIT_REPO_URL
+clone-url=@@CRUPEST_ROOT_URL@@$CGIT_REPO_URL
snapshots=tar.gz tar.bz2 zip
source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
about-filter=/usr/lib/cgit/filters/about-formatting.sh
readme=:README.md
readme=:README
-remove-suffix=1
scan-path=/git/