aboutsummaryrefslogtreecommitdiff
path: root/gitolite/cgit/cgitrc
blob: e399f799aa3d1631b651b99876bd3b8bd88c3180 (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
repository-sort=age
clone-url=https://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL
enable-http-clone=1

# Needed to avoid duplicating URI in every href
virtual-root=/

# Extra <head>
head-include=/usr/lib/cgit/include.html

# Enable us "ignoring" specific repositories
enable-git-config=1

# Self explanatory
enable-http-clone=1

# Remove .git suffix
remove-suffix=1

readme=:README.md
about-filter=/usr/local/lib/cgit/filters/about-formatting.sh
source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.py

# Needs to be mountpoint of the gitolite volume
project-list=/var/lib/git/projects.list
scan-path=/var/lib/git/repositories

root-title=Personal projects
root-desc=A brief collection
root-readme=/var/www/htdocs/cgit/about.html
local-time=1

css=/everforest.css
css=/cgit.css
css=/syntax.css
logo=/logo.png