aboutsummaryrefslogtreecommitdiffstats
path: root/roles/obsd_cgit/templates/cgitrc.j2
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2026-10-03 11:41:33 -0700
committerEugene Triguba <hello@eugenetriguba.com>2026-10-11 18:36:45 -0700
commit024ae3365ffa40b5d0b117577c552587b258ca7a (patch)
treea2907f5a9018009e55b0d1690c3210844b74af30 /roles/obsd_cgit/templates/cgitrc.j2
downloadsite-configs-024ae3365ffa40b5d0b117577c552587b258ca7a.zip
Initial Commit
Diffstat (limited to 'roles/obsd_cgit/templates/cgitrc.j2')
-rw-r--r--roles/obsd_cgit/templates/cgitrc.j217
1 files changed, 17 insertions, 0 deletions
diff --git a/roles/obsd_cgit/templates/cgitrc.j2 b/roles/obsd_cgit/templates/cgitrc.j2
new file mode 100644
index 0000000..9633092
--- /dev/null
+++ b/roles/obsd_cgit/templates/cgitrc.j2
@@ -0,0 +1,17 @@
+css=/cgit.css
+logo=/cgit.png
+
+enable-git-config=1
+
+cache-root={{ cgit_cache_dir }}
+cache-size=1000
+
+# Set the title and heading of the repository index page
+root-title=Eugene Triguba's Git Repositories
+
+## Search for these files in the root of the default branch of repositories
+## for coming up with the about page:
+readme=:README
+
+virtual-root=/
+scan-path={{ cgit_repos_dir }}