aboutsummaryrefslogtreecommitdiff
path: root/sys/etc/cgitrc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/etc/cgitrc')
-rw-r--r--sys/etc/cgitrc71
1 files changed, 71 insertions, 0 deletions
diff --git a/sys/etc/cgitrc b/sys/etc/cgitrc
new file mode 100644
index 0000000..34113a6
--- /dev/null
+++ b/sys/etc/cgitrc
@@ -0,0 +1,71 @@
+css=/usr/share/websapps/cgit/cgit.css
+logo=/srv/www/static/himbeerlogo.png
+favicon=/srv/www/static/favicon.ico
+
+enable-index-links=1
+enable-index-owner=0
+enable-commit-graph=1
+enable-blame=1
+enable-log-filecount=1
+enable-log-linecount=1
+
+branch-sort=age
+repository-sort=age
+
+clone-url=git://himbeerserver.de/$CGIT_REPO_URL https://git.himbeerserver.de/$CGIT_REPO_URL
+root-title=HimbeerGit
+root-desc=Mirrors of several of my GitHub projects.
+
+##
+## List of common mimetypes
+##
+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 syntax highlighting
+source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
+
+# Format markdown, restructuredtext, manpages, text files, and html files
+# through the right converters
+about-filter=/usr/lib/cgit/filters/about-formatting.sh
+
+##
+## Search for these files in the root of the default branch of repositories
+## for coming up with the about page:
+##
+readme=:README.md
+readme=:readme.md
+readme=:README.mkd
+readme=:readme.mkd
+readme=:README.rst
+readme=:readme.rst
+readme=:README.html
+readme=:readme.html
+readme=:README.htm
+readme=:readme.htm
+readme=:README.txt
+readme=:readme.txt
+readme=:README
+readme=:readme
+readme=:INSTALL.md
+readme=:install.md
+readme=:INSTALL.mkd
+readme=:install.mkd
+readme=:INSTALL.rst
+readme=:install.rst
+readme=:INSTALL.html
+readme=:install.html
+readme=:INSTALL.htm
+readme=:install.htm
+readme=:INSTALL.txt
+readme=:install.txt
+readme=:INSTALL
+readme=:install
+
+robots=noindex, nofollow
+include=/srv/git/repos.list