From 1cb80b2d9f3245bfc9e3f02f84b6af681054131a Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Sun, 15 Dec 2024 19:42:53 +0800 Subject: add cgit --- git/cgitrc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 git/cgitrc (limited to 'git/cgitrc') diff --git a/git/cgitrc b/git/cgitrc new file mode 100644 index 0000000..e665ada --- /dev/null +++ b/git/cgitrc @@ -0,0 +1,19 @@ +# http assets +css=/cgit.css +logo=/logo.svg + +# repos +enable-git-config=1 +scan-path=/srv/git/ + +# if you do not want that webcrawler (like google) index your site +robots=noindex, nofollow + +# if cgit messes up links, use a virtual-root. For example, cgit.example.org/ has this value: +virtual-root=/ + +# about page +about-filter=/home/pham/site/git/about-filter.sh +readme=:README.md +readme=:README +readme=:README.txt -- cgit v1.2.3-70-g09d2