diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-07-04 10:53:44 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-07-04 10:53:44 +0530 |
| commit | 6b505a48a23f77867dd9dc75a542ede6ce4ae955 (patch) | |
| tree | e080c3c88f8c449681f45abaccf906230b2ead09 /cgit/cgitrc | |
| parent | 1f4c276914a7e5b03a31345d7bf5966e8aff9081 (diff) | |
| download | bacchus-remote-6b505a48a23f77867dd9dc75a542ede6ce4ae955.tar.gz bacchus-remote-6b505a48a23f77867dd9dc75a542ede6ce4ae955.zip | |
Fix html transformation for about + syntax hl changes
Diffstat (limited to '')
| -rw-r--r-- | cgit/cgitrc | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/cgit/cgitrc b/cgit/cgitrc index bed622c..935192c 100644 --- a/cgit/cgitrc +++ b/cgit/cgitrc @@ -5,10 +5,24 @@ root-readme=/usr/share/webapps/cgit/ediblemonad/README.md # Theme css=/ediblemonad/cgit.css logo=/ediblemonad/logo.png -head-include=/usr/share/webapps/cgit/ediblemonad/head.html +favicon=/favicon.ico +head-include=/usr/share/webapps/cgit/ediblemonad/header.html +# footer= TODO: override footer + +# TODO: submodule links +# module-link=/cgit/submodule/%s/commit?id=%s source-filter=/usr/lib/cgit/filters/syntax-highlighting.py -about-filter=/usr/lib/cgit/filters/about-formatting.sh +about-filter=/usr/lib/cgit/filters/ediblemonad/about.sh + +# Mimetypes for plain files +mimetype.gif=image/gif +mimetype.html=text/html +mimetype.jpg=image/jpeg +mimetype.jpeg=image/jpeg +mimetype.pdf=application/pdf +mimetype.png=image/png +mimetype.svg=image/svg+xml # Search for these files in the root of the default branch of repositories # for coming up with the about page: @@ -43,17 +57,25 @@ readme=:install # Cache cache-root=/var/cache/cgit -cache-size=2000 +cache-size=0 -enable-index-links=1 +enable-index-links=0 enable-index-owner=0 enable-remote-branches=1 enable-log-filecount=1 enable-log-linecount=1 +enable-tree-linenumbers=1 enable-git-config=1 +enable-commit-graph=1 +enable-follow-links=1 +enable-http-clone=1 +enable-html-serving=1 snapshots=tar.xz zip +remove-suffix=1 +repository-sort=age +# side-by-side-diffs=1 -robots=noindex, nofollow +robots=index, nofollow virtual-root=/ section-from-path=0 max-repo-count=50 |
