summaryrefslogtreecommitdiffstats
path: root/cgit/cgitrc
blob: 7d3020c93a9fa30e66cd56053446522c8940545d (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Enable caching of up to 1000 output entriess
cache-size=1000

# Specify some default clone prefixes
clone-prefix=ssh://git.com.de:28/LibertaCasa

# Specify the css url
css=/cgit/cgit.css

# Specify the logo url
logo=/cgit/cgit.png

# Show extra links for each repository on the index page
enable-index-links=1

# Show number of affected files per commit on the log pages
enable-log-filecount=1

# Show number of added/removed lines per commit on the log pages
enable-log-linecount=1

# Set the title and heading of the repository index page
root-title=The LibertaCasa Project

# Allow download of tar.gz, tar.bz2 and zip-files
snapshots=tar.gz tar.bz2 zip


##
## List of common mimetypes
##

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

#custom
source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
virtual-root=/
scan-path=/var/lib/git/gitea-repositories/libertacasa/

##
## List of repositories.
## PS: Any repositories listed when section is unset will not be
##     displayed under a section heading
## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos')
##      and included like this:
##        include=/etc/cgitrepos
##

#repo.url=libertacasa-irc
#repo.path=/var/lib/git/gitea-repositories/libertacasa/irc.git
#repo.desc=LibertaCasa-IRC
#repo.owner=hello@liberta.casa
#
#repo.url=libertacasa-gemini
#repo.path=/var/lib/git/gitea-repositories/libertacasa/gemini.git
#repo.desc=LibertaCasa-Gemini
#repo.owner=hello@liberta.casa