summaryrefslogtreecommitdiffhomepage
path: root/git/cgitrc
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-12-15 19:42:53 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-12-16 22:45:13 +0800
commit1cb80b2d9f3245bfc9e3f02f84b6af681054131a (patch)
tree47cbb38ce9e7b3e92b0262e35bf8dfcdbe929526 /git/cgitrc
parent465c4ba5b4f0b4f69fd3773fc4f9f9650b7fffa0 (diff)
add cgit
Diffstat (limited to 'git/cgitrc')
-rw-r--r--git/cgitrc19
1 files changed, 19 insertions, 0 deletions
diff --git a/git/cgitrc b/git/cgitrc
new file mode 100644
index 0000000..e665ada
--- /dev/null
+++ b/git/cgitrc
@@ -0,0 +1,19 @@
1# http assets
2css=/cgit.css
3logo=/logo.svg
4
5# repos
6enable-git-config=1
7scan-path=/srv/git/
8
9# if you do not want that webcrawler (like google) index your site
10robots=noindex, nofollow
11
12# if cgit messes up links, use a virtual-root. For example, cgit.example.org/ has this value:
13virtual-root=/
14
15# about page
16about-filter=/home/pham/site/git/about-filter.sh
17readme=:README.md
18readme=:README
19readme=:README.txt