aboutsummaryrefslogtreecommitdiff
path: root/cgitrc.template
diff options
context:
space:
mode:
Diffstat (limited to 'cgitrc.template')
-rw-r--r--cgitrc.template17
1 files changed, 17 insertions, 0 deletions
diff --git a/cgitrc.template b/cgitrc.template
new file mode 100644
index 0000000..506f53e
--- /dev/null
+++ b/cgitrc.template
@@ -0,0 +1,17 @@
+# Set the title and heading of the repository index page
+root-title=$CGIT_TITLE
+
+# Set a subheading for the repository index page
+root-desc=$CGIT_SUBTITLE
+
+# Highlight source code with python pygments-based highlighter
+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
+
+remove-suffix=1
+
+readme=:README.md
+scan-path=/repos