From 483c83a2db67307a3e91315a84e578f7b65603d3 Mon Sep 17 00:00:00 2001 From: Adam Spragg Date: Wed, 15 Aug 2018 18:21:40 +0100 Subject: Make cgit look nicer Make cgit look for README.md as an about page, include markdown->HTML conversion so it shows up nicely, and add syntax highlighting for source files --- cgitrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cgitrc') diff --git a/cgitrc b/cgitrc index 513e67f..aaf73b5 100644 --- a/cgitrc +++ b/cgitrc @@ -5,6 +5,11 @@ css=/style/cgit/cgit.css logo=/style/cgit/cgit.png +source-filter=/usr/lib/cgit/filters/syntax-highlighting.py +about-filter=/usr/lib/cgit/filters/about-formatting.sh + +readme=:README.md + repo.url=spragg-ssl.co.uk repo.path=/srv/git/spragg-ssl.co.uk.git repo.desc=The spragg-ssl.co.uk website -- cgit v1.2.1