summaryrefslogtreecommitdiff
path: root/files/cgit/cgitrc
diff options
context:
space:
mode:
Diffstat (limited to 'files/cgit/cgitrc')
-rw-r--r--files/cgit/cgitrc40
1 files changed, 40 insertions, 0 deletions
diff --git a/files/cgit/cgitrc b/files/cgit/cgitrc
new file mode 100644
index 0000000..93527e5
--- /dev/null
+++ b/files/cgit/cgitrc
@@ -0,0 +1,40 @@
+#
+# cgit config
+# see cgitrc(5) for details
+css=/cgit.css
+logo=/cgit.png
+virtual-root=/
+
+clone-url=git@eug-vs.xyz:$CGIT_REPO_URL
+
+readme=:README.md
+readme=:README
+
+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
+
+enable-git-config=1
+enable-commit-graph=1
+enable-log-linecount=1
+enable-http-clone=1
+enable-index-owner=0
+repository-sort=age
+case-sensitive-sort=0
+remove-suffix=1
+
+root-title=Eugene's git server
+root-desc=A collection of my side projects and just-for-fun stuff. Enjoy!
+
+logo-link=https://eug-vs.xyz
+
+about-filter=/usr/lib/cgit/filters/about-formatting.sh
+
+section-from-path=1
+scan-path=/home/git
+
+