aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/git-mirrors/templates/cgitrc.j2
blob: 46b31500b3af79d0c7e63e5d86e120ee2be5938d (plain) (blame)
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
# {{ ansible_managed }}

# See cgitrc(5) for details

# Operational config
cache-root=/var/cache/cgit

# Web config
css=/cgit.css
logo={{ git_mirrors_cgit_logo }}
favicon={{ git_mirrors_cgit_logo }}
virtual-root=/
root-title={{ git_mirrors_cgit_title }}
root-desc={{ git_mirrors_cgit_description }}

# Filters config
about-filter=/usr/lib/cgit/filters/about-formatting.sh
source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
email-filter=lua:/usr/lib/cgit/filters/email-gravatar.lua

# Design options
enable-commit-graph=1
enable-log-linecount=1
enable-blame=1
enable-follow-links=1
enable-index-owner=0
enable-subject-links=1
max-stats=year

# Content options
readme=:README.md
readme=:README.rst
readme=:README.man
readme=:README.txt

# Repositories
section-from-path=1
scan-path={{ git_mirrors_base_dir }}/mirrored
repository-sort=age