diff options
author | root@culturestrings <root@culturestrings> | 2020-06-13 22:59:20 +0000 |
---|---|---|
committer | root@culturestrings <root@culturestrings> | 2020-06-13 23:20:52 +0000 |
commit | 76bf6e45d2c9741c1ed209feb94dd595a717f4ec (patch) | |
tree | 32990c9c68f87d4434088471a01d0aa3f7f7c675 /public/fs/etc/cgit.d/cgitrc.zone | |
parent | 0a05a5a6eeb4e75a12c8fe71f428d20819e287d6 (diff) | |
download | culturestrings-76bf6e45d2c9741c1ed209feb94dd595a717f4ec.tar.bz2 culturestrings-76bf6e45d2c9741c1ed209feb94dd595a717f4ec.tar.xz |
cgit: make the configuration file site-agnostic.
Diffstat (limited to 'public/fs/etc/cgit.d/cgitrc.zone')
-rw-r--r-- | public/fs/etc/cgit.d/cgitrc.zone | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/public/fs/etc/cgit.d/cgitrc.zone b/public/fs/etc/cgit.d/cgitrc.zone new file mode 100644 index 0000000..45ed8dd --- /dev/null +++ b/public/fs/etc/cgit.d/cgitrc.zone @@ -0,0 +1,40 @@ +virtual-root=/ +source-filter=/usr/lib/cgit/filters/syntax-highlighting.py + +css=/cgit/cgit.css +logo=/cgit/@sitename@.png + +root-title=@sitemoto@ +root-desc=@sitedesc@ +clone-url=https://git.@sitezone@/$CGIT_REPO_URL + +enable-http-clone=0 +enable-git-config=1 +section-from-path=1 +snapshots=tar.bz2 tar.xz + +enable-index-links=1 +enable-log-filecount=1 +enable-log-linecount=1 + +mimetype.git=image/git +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 + +@@@ [sed mark] + +section=name +############### +repo.url=foo +repo.path=/srv/git/foo +repo.desc=something something +repo.owner=someone +repo.homepage=https://dev.@sitezone@/path/to/foo + +section=other +############### +scan-path=/srv/git |