aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jails/22_forge/templates/usr_local_etc_cgitrc.j2
blob: a1e7c9eb2a70d802256bcfcf0eaee813551d6149 (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
css=/cgit.css
logo=/cgit.png
favicon=/favicon.ico
head-include=/usr/local/etc/cgit/head-include.html
footer=/usr/local/etc/cgit/footer.html

virtual-root=/

# Site settings
root-title=forge.jan.systems
root-desc=Jan's personal git repositories
clone-prefix=git@forge.jan.systems https://forge.jan.systems

# Filters (must appear before scan-path)
about-filter=/usr/local/lib/cgit/filters/about-formatting.sh
source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.sh

# Repository display (must appear before scan-path)
enable-index-owner=0
enable-commit-graph=1
enable-log-filecount=1
enable-log-linecount=1
max-stats=year

# Render README on summary page
readme=:README.md
readme=:README
readme=:README.txt

# Scan /home/git for bare repositories
scan-path=/var/db/repos