diff options
Diffstat (limited to 'images/git/cgit/cgitrc')
-rw-r--r-- | images/git/cgit/cgitrc | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/images/git/cgit/cgitrc b/images/git/cgit/cgitrc new file mode 100644 index 0000000..0afc48d --- /dev/null +++ b/images/git/cgit/cgitrc @@ -0,0 +1,46 @@ +css=/cgit.css +logo=/cgit.png + +root-title=tx0.co +clone-prefix=git://tx0.co https://g.tx0.co/git git@tx0.co: +snapshots=tar.gz tar.xz tar.bz2 zip +readme=master:README.md +about-filter=/app/about-formatting.sh +#/usr/lib/cgit/filters/about-formatting.sh +source-filter=/app/syntax-highlighting3.sh +enable-http-clone=0 +strict-export=git-daemon-export-ok + +noplainemail=1 + +enable-index-owner=0 +enable-index-links=0 +enable-commit-graph=1 +enable-log-filecount=1 +enable-log-linecount=1 + +# 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 has cgit.example.org/ this value: +virtual-root=/ +root-desc=Foo. + +enable-git-config=1 +section-from-path=1 +remove-suffix=1 + +project-list=/data/git/projects.list +scan-path=/data/git/repositories + +mimetype.gif=image/gif +mimetype.html=text/html +mimetype.jpg=image/jpg +mimetype.jpeg=image/jpg +mimetype.pdf=application/pdf +mimetype.png=image/png +mimetype.svg=image/svg+xml + +readme=:README.md +readme=:README.txt +readme=:README |