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
commit5aaffb5bf2e324b302b3a3fee6ffc2b9244baf8b (patch)
tree726e6b0ec2f86a4530161e4e4e90c0632c134f5a /services/templates/cgitrc.template
parentd201f6ef9c4b937f0ae8ee98dc291d7cfa10da92 (diff)
downloadcrupest-5aaffb5bf2e324b302b3a3fee6ffc2b9244baf8b.tar.gz
crupest-5aaffb5bf2e324b302b3a3fee6ffc2b9244baf8b.tar.bz2
crupest-5aaffb5bf2e324b302b3a3fee6ffc2b9244baf8b.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/