diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-12-15 19:42:53 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-12-16 22:45:13 +0800 |
commit | 1cb80b2d9f3245bfc9e3f02f84b6af681054131a (patch) | |
tree | 47cbb38ce9e7b3e92b0262e35bf8dfcdbe929526 /git/cgitrc | |
parent | 465c4ba5b4f0b4f69fd3773fc4f9f9650b7fffa0 (diff) |
add cgit
Diffstat (limited to 'git/cgitrc')
-rw-r--r-- | git/cgitrc | 19 |
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 | ||
2 | css=/cgit.css | ||
3 | logo=/logo.svg | ||
4 | |||
5 | # repos | ||
6 | enable-git-config=1 | ||
7 | scan-path=/srv/git/ | ||
8 | |||
9 | # if you do not want that webcrawler (like google) index your site | ||
10 | robots=noindex, nofollow | ||
11 | |||
12 | # if cgit messes up links, use a virtual-root. For example, cgit.example.org/ has this value: | ||
13 | virtual-root=/ | ||
14 | |||
15 | # about page | ||
16 | about-filter=/home/pham/site/git/about-filter.sh | ||
17 | readme=:README.md | ||
18 | readme=:README | ||
19 | readme=:README.txt | ||