diff options
author | Jonas Smedegaard <dr@jones.dk> | 2020-06-20 21:52:30 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2020-06-20 21:52:30 +0200 |
commit | ce6ff9c1ad24b63851b736021e898da7e287d146 (patch) | |
tree | e9708cc4788f2b9e35c6c93ca6bfbfe2fc44932a /cgit/cgitrc | |
parent | 0096a166c05da05b471123c5dce3d15a053ba642 (diff) |
update cgit config, to strip .git suffix from projects, and parse README.md with cmark
Diffstat (limited to 'cgit/cgitrc')
-rw-r--r-- | cgit/cgitrc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/cgit/cgitrc b/cgit/cgitrc new file mode 100644 index 0000000..596265d --- /dev/null +++ b/cgit/cgitrc @@ -0,0 +1,21 @@ +# +# cgit config +# see cgitrc(5) for details + +css=/cgit-css/cgit.css +logo=/cgit-css/cgit.png + +remove-suffix=1 + +clone-url=git://$HTTP_HOST/$CGIT_REPO_URL user@$HTTP_HOST:$CGIT_REPO_URL https://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL http://$HTTP_HOST$SCRIPT_NAME/$CGIT_REPO_URL + +source-filter=/usr/lib/cgit/filters/syntax-highlighting.sh + +# requires cmark +about-filter=/etc/local-COMMON/cgit/filters/about-formatting.sh +readme=:README.md + +cache-size=1000 + +# must be last! +scan-path=$DOCUMENT_ROOT |