src.nth.io/

summaryrefslogtreecommitdiff
path: root/git/web/templates/cgitrc.j2
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-04-05 15:50:31 -0500
committerLuke Hoersten <[email protected]>2026-04-05 15:50:31 -0500
commite925453eab7024b5f169bbeef6a281c9952b1d30 (patch)
treeaf53745934dd462930c33a0f38530752d8e1c4fc /git/web/templates/cgitrc.j2
parent55e55db9154e80aec134eef17d9d883d0213d4c4 (diff)
Add git/aws-s3-backup and git/web (cgit) roles
Diffstat (limited to 'git/web/templates/cgitrc.j2')
-rw-r--r--git/web/templates/cgitrc.j218
1 files changed, 18 insertions, 0 deletions
diff --git a/git/web/templates/cgitrc.j2 b/git/web/templates/cgitrc.j2
new file mode 100644
index 0000000..6c1a7ff
--- /dev/null
+++ b/git/web/templates/cgitrc.j2
@@ -0,0 +1,18 @@
+remove-suffix=1
+
+root-title=src.nth.io
+root-desc=Git repositories
+
+difftype=ssdiff
+
+enable-http-clone=1
+enable-index-links=1
+enable-log-filecount=1
+enable-log-linecount=1
+
+source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
+about-filter=/usr/lib/cgit/filters/about-formatting.sh
+
+{% for repo in cgit_repos %}
+repo.path={{cgit_repos_dir}}{{repo}}.git
+{% endfor %}