aboutsummaryrefslogtreecommitdiffstats
path: root/roles/cgit/templates/conf-cgitrc.j2
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-07-29 17:00:20 +0200
committerRomain Gonçalves <me@rgoncalves.se>2021-07-29 17:00:20 +0200
commitb232b894c3cbe087c8d504e91637dcf62199eed1 (patch)
treeea72a7d1a7f63c6425ee46785e1cec924351b2c3 /roles/cgit/templates/conf-cgitrc.j2
parent22126073344e60c405d086df37b64da0c6d3c086 (diff)
downloadold-infrastructure-b232b894c3cbe087c8d504e91637dcf62199eed1.tar.gz
Bump to third revision of homelab
Diffstat (limited to 'roles/cgit/templates/conf-cgitrc.j2')
-rw-r--r--roles/cgit/templates/conf-cgitrc.j241
1 files changed, 41 insertions, 0 deletions
diff --git a/roles/cgit/templates/conf-cgitrc.j2 b/roles/cgit/templates/conf-cgitrc.j2
new file mode 100644
index 0000000..1fc283f
--- /dev/null
+++ b/roles/cgit/templates/conf-cgitrc.j2
@@ -0,0 +1,41 @@
+
+# cgit ~~ /var/www/conf/cgitrc
+# managed by Ansible
+
+# visuals
+css={{ cgit__css }}
+logo={{ cgit__logo }}
+favicon={{ cgit__favicon }}
+footer={{ cgit__footer }}
+
+# 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=git://git.{{ global.domain_name }}/$CGIT_REPO_URL ssh://git@git.{{ global.domain_name }}/$CGIT_REPO_URL http://git.{{ global.domain_name }}/$CGIT_REPO_URL
+
+# 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.