aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/templates/cgitrc.j2
blob: 2b01ef4dc516a98c388eda2e177d2230d3cc4370 (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
40
41
42
43
# managed by Ansible

# visuals
css={{ cgit__css }}
logo={{ cgit__logo }}
favicon={{ cgit__favicon }}
footer={{ cgit__footer }}

# cache
cache-root=/cache/cgit
cache-size=100

# readme
readme=:README.md
readme=:README.org
readme=:README
readme=:.README.md
readme=:.README
about-filter=/bin/about-filter.sh

# features
enable-commit-graph=1
enable-http-clone=1
enable-index-links=1
max-stats=quarter
robots=noindex, nofollow
localtime=1

# git
clone-url={{ cgit__clone_urls | join(' ') }}

# instance id
root-title=git.{{ __global_domain_name }}
root-desc={{ cgit__root_desc }}
root-readme={{ cgit__root_readme }}

# archives
snapshots=tar.gz

# sections
section-from-path=1
section-sort=1
scan-path={{ cgit_git_dir }}
remember that computers suck.