src.nth.io/

summaryrefslogtreecommitdiff
path: root/git/web/templates/cgitrc.j2
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2026-04-19 13:52:04 -0500
committerLuke Hoersten <[email protected]>2026-04-19 13:52:04 -0500
commit7802f85d65b6227cf836b57efd8b84483aa4d877 (patch)
treee72e9a29bcf6e460c7e04399494994905f248547 /git/web/templates/cgitrc.j2
parent9e4694c554b75b115d54f610c4e22c8027e94e0b (diff)
Make cgit source-filter path configurable, add deploy task
Diffstat (limited to 'git/web/templates/cgitrc.j2')
-rw-r--r--git/web/templates/cgitrc.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/git/web/templates/cgitrc.j2 b/git/web/templates/cgitrc.j2
index 6e8df0c..ccf5c78 100644
--- a/git/web/templates/cgitrc.j2
+++ b/git/web/templates/cgitrc.j2
@@ -22,7 +22,7 @@ enable-index-links=1
enable-log-filecount=1
enable-log-linecount=1
-source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
+source-filter={{cgit_source_filter_path | default('/usr/lib/cgit/filters/syntax-highlighting.py')}}
about-filter=/usr/lib/cgit/filters/about-formatting.sh
scan-path={{cgit_scan_path}}