diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2020-09-13 16:10:11 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2020-09-13 16:10:11 -0400 |
| commit | 578b04e3f380cfd674cd545f6a4d673b4e046bf5 (patch) | |
| tree | 0ae11672ff5b90a73e5abb489fa1a5b6d9e67862 /cgitrc | |
| download | alpine-cgit-578b04e3f380cfd674cd545f6a4d673b4e046bf5.tar.gz alpine-cgit-578b04e3f380cfd674cd545f6a4d673b4e046bf5.tar.xz | |
Initial
Diffstat (limited to 'cgitrc')
| -rw-r--r-- | cgitrc | 64 |
1 files changed, 64 insertions, 0 deletions
@@ -0,0 +1,64 @@ +# Allow http transport git clone +#enable-http-clone=0 +enable-http-clone=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, cgit.example.org/ has this value: + +virtual-root=/ + +enable-commit-graph=1 +enable-log-filecount=1 +enable-log-linecount=1 +branch-sort=age + +## List of common mimetypes +## + +mimetype.gif=image/gif +mimetype.html=text/html +mimetype.jpg=image/jpeg +mimetype.jpeg=image/jpeg +mimetype.pdf=application/pdf +mimetype.png=image/png +mimetype.svg=image/svg+xml + + +# Highlight source code with python pygments-based highlighter +source-filter=/usr/lib/cgit/filters/syntax-highlighting.py + +about-filter=/usr/lib/cgit/filters/about-formatting.sh + +readme=:README.md +readme=:readme.md +readme=:README.mkd +readme=:readme.mkd +readme=:README.rst +readme=:readme.rst +readme=:README.html +readme=:readme.html +readme=:README.htm +readme=:readme.htm +readme=:README.txt +readme=:readme.txt +readme=:README +readme=:readme +readme=:INSTALL.md +readme=:install.md +readme=:INSTALL.mkd +readme=:install.mkd +readme=:INSTALL.rst +readme=:install.rst +readme=:INSTALL.html +readme=:install.html +readme=:INSTALL.htm +readme=:install.htm +readme=:INSTALL.txt +readme=:install.txt +readme=:INSTALL +readme=:install + +include=/var/git/cgit + |
