aboutsummaryrefslogtreecommitdiff
path: root/cgit/cgitrc
diff options
context:
space:
mode:
Diffstat (limited to 'cgit/cgitrc')
-rw-r--r--cgit/cgitrc32
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