From f1736dae97df089b5f97895f5b27f2d95a7c6151 Mon Sep 17 00:00:00 2001 From: Tianhao Wang Date: Thu, 26 Oct 2023 20:32:15 +0200 Subject: init --- cgitrc | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 cgitrc (limited to 'cgitrc') diff --git a/cgitrc b/cgitrc new file mode 100644 index 0000000..8760d5b --- /dev/null +++ b/cgitrc @@ -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 + + -- cgit v1.2.3-70-g09d2