diff options
Diffstat (limited to 'clarkzjw.cc/config/bia/ansible/roles/cgit/templates/cgitrc.j2')
-rw-r--r-- | clarkzjw.cc/config/bia/ansible/roles/cgit/templates/cgitrc.j2 | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/clarkzjw.cc/config/bia/ansible/roles/cgit/templates/cgitrc.j2 b/clarkzjw.cc/config/bia/ansible/roles/cgit/templates/cgitrc.j2 index 39585fd..5504b57 100644 --- a/clarkzjw.cc/config/bia/ansible/roles/cgit/templates/cgitrc.j2 +++ b/clarkzjw.cc/config/bia/ansible/roles/cgit/templates/cgitrc.j2 | |||
@@ -1,19 +1,26 @@ | |||
1 | ## style-sheet and custom logo | 1 | ## style-sheet and custom logo |
2 | css=/cgit.css | 2 | css=/static/cgit.css |
3 | logo=/cgit.png | 3 | logo=/cgit.png |
4 | noheader=0 | ||
5 | embedded=0 | ||
4 | 6 | ||
5 | ## root for all cgit links | 7 | ## root for all cgit links |
6 | virtual-root=/ | 8 | virtual-root=/ |
7 | 9 | ||
8 | ## root config | 10 | ## root config |
9 | root-title={{ lookup('env', 'CGIT_DOMAIN') }} | 11 | root-title=Clarkzjw's Git Server |
10 | root-desc=clarkzjw's personal git server | 12 | root-desc= |
11 | root-readme=/var/www/{{ lookup('env', 'CGIT_DOMAIN') }}/index.html | 13 | root-readme=/var/www/{{ lookup('env', 'CGIT_DOMAIN') }}/index.html |
14 | head-include=/var/www/{{ lookup('env', 'CGIT_DOMAIN') }}/head | ||
15 | header=/var/www/{{ lookup('env', 'CGIT_DOMAIN') }}/header | ||
16 | footer=/var/www/{{ lookup('env', 'CGIT_DOMAIN') }}/footer | ||
12 | 17 | ||
13 | ## syntax highlighting | 18 | ## syntax highlighting |
14 | source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.py | 19 | source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.py |
15 | about-filter=/usr/local/lib/cgit/filters/about-formatting.sh | 20 | about-filter=/usr/local/lib/cgit/filters/about-formatting.sh |
16 | 21 | ||
22 | clone-url=https://{{ lookup('env', 'CGIT_DOMAIN') }}/$CGIT_REPO_URL git@{{ lookup('env', 'CGIT_SSH_DOMAIN') }}:$CGIT_REPO_URL | ||
23 | |||
17 | ## mimetype | 24 | ## mimetype |
18 | mimetype.gif=image/gif | 25 | mimetype.gif=image/gif |
19 | mimetype.html=text/html | 26 | mimetype.html=text/html |
@@ -25,6 +32,7 @@ mimetype.png=image/png | |||
25 | mimetype.svg=image/svg+xml | 32 | mimetype.svg=image/svg+xml |
26 | 33 | ||
27 | ## features | 34 | ## features |
35 | repository-sort=age | ||
28 | remove-suffix=1 | 36 | remove-suffix=1 |
29 | enable-remote-branches=1 | 37 | enable-remote-branches=1 |
30 | enable-index-links=1 | 38 | enable-index-links=1 |
@@ -33,6 +41,9 @@ enable-git-config=1 | |||
33 | enable-commit-graph=1 | 41 | enable-commit-graph=1 |
34 | enable-log-filecount=1 | 42 | enable-log-filecount=1 |
35 | enable-log-linecount=1 | 43 | enable-log-linecount=1 |
44 | enable-http-clone=1 | ||
45 | enable-blame=1 | ||
46 | side-by-side-diffs=1 | ||
36 | 47 | ||
37 | ## readme | 48 | ## readme |
38 | readme=:README.md | 49 | readme=:README.md |