aboutsummaryrefslogtreecommitdiffstats
path: root/roles/obsd_cgit/templates/cgitrc.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/obsd_cgit/templates/cgitrc.j2')
-rw-r--r--roles/obsd_cgit/templates/cgitrc.j235
1 files changed, 24 insertions, 11 deletions
diff --git a/roles/obsd_cgit/templates/cgitrc.j2 b/roles/obsd_cgit/templates/cgitrc.j2
index 9633092..c8eb111 100644
--- a/roles/obsd_cgit/templates/cgitrc.j2
+++ b/roles/obsd_cgit/templates/cgitrc.j2
@@ -1,17 +1,30 @@
-css=/cgit.css
-logo=/cgit.png
+root-title=Eugene Triguba's Git Repositories
+enable-blame=1
+enable-commit-graph=1
+enable-follow-links=1
enable-git-config=1
+enable-index-links=1
+enable-index-owner=1
+enable-log-filecount=1
+enable-log-linecount=1
+enable-remote-branches=1
+enable-subject=links=1
+enable-tree-linenumbers=1
+# Disable cgit's 'dumb' http support
+enable-http-clone=0
-cache-root={{ cgit_cache_dir }}
-cache-size=1000
+about-filter=/bin/convert-markdown
+head-include=/cgit/head.html
-# Set the title and heading of the repository index page
-root-title=Eugene Triguba's Git Repositories
-
-## Search for these files in the root of the default branch of repositories
-## for coming up with the about page:
-readme=:README
+max-atom-items=100
+max-stats=year
+remove-suffix=1
+readme=:README.md
+css=/cgit.css
+logo=/cgit.png
virtual-root=/
-scan-path={{ cgit_repos_dir }}
+scan-path=/pub/git
+cache-root=/var/www/cgit/cache
+cache-size=1000