aboutsummaryrefslogtreecommitdiff
path: root/cgitrc.template
diff options
context:
space:
mode:
authorChristian <[email protected]>2026-02-02 15:53:57 -0600
committerChristian <[email protected]>2026-02-02 15:53:57 -0600
commitf4dde3803de5a9e6093ff1b327a9e582096f807d (patch)
treec4f6e9eac542d91ead0b9938a26f5342584061af /cgitrc.template
parent4f12e4ca91d5042b2290ef763a012544e43e0583 (diff)
Allow changing title and subtitleHEADmain
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