From 84682c67b65e51be9168bb87d30d31bbd6d614a5 Mon Sep 17 00:00:00 2001 From: Martin Michalec Date: Thu, 22 Oct 2026 23:28:49 +0300 Subject: feat: add cgit --- roles/cgit/templates/cgitrc.j2 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 roles/cgit/templates/cgitrc.j2 (limited to 'roles/cgit/templates/cgitrc.j2') diff --git a/roles/cgit/templates/cgitrc.j2 b/roles/cgit/templates/cgitrc.j2 new file mode 100644 index 0000000..9aee5f0 --- /dev/null +++ b/roles/cgit/templates/cgitrc.j2 @@ -0,0 +1,29 @@ +{# -*- Conf -*- #} +# {{ ansible_managed }} + +enable-log-filecount=1 +enable-log-linecount=1 +enable-remote-branches=1 +enable-subject-links=1 +enable-git-config=1 + +virtual-root=/ + +local-time=1 + +# logo= + +source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.sh +email-filter=lua:/usr/local/lib/cgit/filters/email-libravatar.lua +about-filter=/usr/local/lib/cgit/filters/about-formatting.sh + +readme=master:README.org + +# repository-sort=name +side-by-side-diffs=1 + +snapshots=tar.gz + +strict-export=git-daemon-export-ok +remove-suffix=1 +section-from-path=1 -- cgit v1.3.1