summaryrefslogtreecommitdiff
path: root/etc/cgitrc
diff options
context:
space:
mode:
authorRATDAD <lambda@disroot.org>2025-12-19 02:13:32 -0500
committerRATDAD <lambda@disroot.org>2025-12-19 02:13:32 -0500
commit714cb1569999b4a51c8bfd24b17736f82f64100c (patch)
tree6735e6d52347756bc6e313bbc81e2c80eea4d549 /etc/cgitrc
parent50f0b6075edb49ffc09090d0ee71391f44c64daf (diff)
downloadcgit-docker-714cb1569999b4a51c8bfd24b17736f82f64100c.tar.gz
cgit-docker-714cb1569999b4a51c8bfd24b17736f82f64100c.tar.bz2
cgit-docker-714cb1569999b4a51c8bfd24b17736f82f64100c.zip
Ensured OOB syntax highlighting and markdown formatting.HEADmaster
Diffstat (limited to 'etc/cgitrc')
-rw-r--r--etc/cgitrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/cgitrc b/etc/cgitrc
index c47986c..7049034 100644
--- a/etc/cgitrc
+++ b/etc/cgitrc
@@ -7,7 +7,9 @@
# Global Settings
robots=noindex, nofollow
snapshots=tar.gz tar.bz2 zip
-source-filter=/opt/highlight.sh
+source-filter=/usr/local/lib/cgit/filters/syntax-highlighting.py
+about-filter=/usr/local/lib/cgit/filters/about-formatting.py
+commit-filter=/usr/local/lib/cgit/fiters/commit-links.sh
# Assets
css=/cgit.css
@@ -73,4 +75,4 @@ readme=:install
# Don't change.
virtual-root=/
-scan-path=/srv/git \ No newline at end of file
+scan-path=/srv/git