summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Spragg <adam@spragg-ssl.co.uk>2018-08-15 18:21:40 +0100
committerAdam Spragg <adam@spragg-ssl.co.uk>2018-08-15 18:21:40 +0100
commit483c83a2db67307a3e91315a84e578f7b65603d3 (patch)
tree19b3bd60f19cc8cec4fa4b25bf23e1d14895cc4f
parenta927e5be83de5e569c0ccb877488f65625e9e143 (diff)
Make cgit look nicerHEADmaster
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
-rw-r--r--cgitrc5
1 files changed, 5 insertions, 0 deletions
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