diff options
| author | Tianhao Wang <wth@riseup.net> | 2023-10-26 20:32:15 +0200 |
|---|---|---|
| committer | Tianhao Wang <wth@riseup.net> | 2023-10-26 20:32:15 +0200 |
| commit | f1736dae97df089b5f97895f5b27f2d95a7c6151 (patch) | |
| tree | e0e9d030494867e829ba8ab31bea9ba305e34673 /cgitrc | |
init
Diffstat (limited to 'cgitrc')
| -rw-r--r-- | cgitrc | 42 |
1 files changed, 42 insertions, 0 deletions
@@ -0,0 +1,42 @@ +# cgit config + +# about filter +about-filter=/usr/lib/cgit/filters/about-formatting.sh +source-filter=/usr/lib/cgit/filters/syntax-hl.sh +readme=:README.md +readme=:readme.md +readme=:README.txt +readme=:readme.txt + +css=/cgit.css +logo=/aleph_red.png + +# Following lines work with the above Apache config +#css=/cgit-css/cgit.css +#logo=/cgit-css/cgit.png + +# Following lines work with the above Lighttpd config +#css=/cgit/cgit.css +#logo=/cgit/cgit.png + +# Allow http transport git clone +enable-http-clone=1 +enable-git-config=1 + +# if you do not want that webcrawler (like google) index your site +robots=noindex, nofollow + +# something else... +root-title=Repositories +root-desc=vnil.de +enable-commit-graph=1 +enable-index-links=1 + + +# if cgit messes up links, use a virtual-root. For example, cgit.example.org/ has this value: +virtual-root=/ + +clone-prefix=gitolite@git.vnil.de: +scan-path=/var/lib/gitolite/repositories + + |
