aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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.j217
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
2css=/cgit.css 2css=/static/cgit.css
3logo=/cgit.png 3logo=/cgit.png
4noheader=0
5embedded=0
4 6
5## root for all cgit links 7## root for all cgit links
6virtual-root=/ 8virtual-root=/
7 9
8## root config 10## root config
9root-title={{ lookup('env', 'CGIT_DOMAIN') }} 11root-title=Clarkzjw's Git Server
10root-desc=clarkzjw's personal git server 12root-desc=
11root-readme=/var/www/{{ lookup('env', 'CGIT_DOMAIN') }}/index.html 13root-readme=/var/www/{{ lookup('env', 'CGIT_DOMAIN') }}/index.html
14head-include=/var/www/{{ lookup('env', 'CGIT_DOMAIN') }}/head
15header=/var/www/{{ lookup('env', 'CGIT_DOMAIN') }}/header
16footer=/var/www/{{ lookup('env', 'CGIT_DOMAIN') }}/footer
12 17
13## syntax highlighting 18## syntax highlighting
14source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.py 19source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.py
15about-filter=/usr/local/lib/cgit/filters/about-formatting.sh 20about-filter=/usr/local/lib/cgit/filters/about-formatting.sh
16 21
22clone-url=https://{{ lookup('env', 'CGIT_DOMAIN') }}/$CGIT_REPO_URL git@{{ lookup('env', 'CGIT_SSH_DOMAIN') }}:$CGIT_REPO_URL
23
17## mimetype 24## mimetype
18mimetype.gif=image/gif 25mimetype.gif=image/gif
19mimetype.html=text/html 26mimetype.html=text/html
@@ -25,6 +32,7 @@ mimetype.png=image/png
25mimetype.svg=image/svg+xml 32mimetype.svg=image/svg+xml
26 33
27## features 34## features
35repository-sort=age
28remove-suffix=1 36remove-suffix=1
29enable-remote-branches=1 37enable-remote-branches=1
30enable-index-links=1 38enable-index-links=1
@@ -33,6 +41,9 @@ enable-git-config=1
33enable-commit-graph=1 41enable-commit-graph=1
34enable-log-filecount=1 42enable-log-filecount=1
35enable-log-linecount=1 43enable-log-linecount=1
44enable-http-clone=1
45enable-blame=1
46side-by-side-diffs=1
36 47
37## readme 48## readme
38readme=:README.md 49readme=:README.md
Powered by cgit v1.2.3 (git 2.41.0)