summaryrefslogtreecommitdiff
path: root/git-server/cgit/cgitrc
blob: 7560a681f94b947d32691dfcab3dd05898f035fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# cgit config

# Branding
root-title=swave.lol git
root-desc=Git repositories hosted on swave.lol
css=/cgit-css/cgit.css
logo=/cgit-css/cgit.png

# Repo discovery
scan-path=/repos

# Features
enable-index-links=1
enable-index-owner=0
enable-log-filecount=1
enable-log-linecount=1
enable-commit-graph=1
snapshots=tar.gz zip

# Syntax highlighting via pygments
source-filter=/usr/lib/cgit/filters/syntax-highlighting.py

# About tab (use repo description file)
readme=:README.md
readme=:README

# Cache
cache-size=1000

# URL style
virtual-root=/
remove-suffix=1
clone-prefix=git://swave.lol ssh://git@swave.lol/repos