about summary refs log tree commit diff stats
path: root/cgitrc
blob: 1eae82f6b55d5d85cb93d4b8b939fd0cca417117 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
# /etc/cgitrc -*- conf -*-

root-title=git.acdw.net
root-desc=personal projects of acdw

# Paths to static resource in Nginx root
css=/cgit.css
#logo=/cgit.png
logo=/avatar.png

clone-url=git://$HTTP_HOST/$CGIT_REPO_URL
snapshots=tar.gz zip

enable-commit-graph=1
repository-sort=age
branch-sort=age

max-repodesc-length=100

section-from-path=1
max-repo-count=100

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

# enable git config
enable-git-config=1
# remove .git from URLs and repo list
remove-suffix=1
# Root for all cgit links
virtual-root=/

# READMEs
readme=:README.md
readme=:readme.txt
readme=:README
about-filter=/usr/bin/cgit-about-filter.sh
default-tab=about # default: summary (requires patch)

# Folder with all my repos
scan-path=/git/