From f4dde3803de5a9e6093ff1b327a9e582096f807d Mon Sep 17 00:00:00 2001 From: Christian Date: Mon, 2 Feb 2026 15:53:57 -0600 Subject: Allow changing title and subtitle --- cgitrc.template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 cgitrc.template (limited to 'cgitrc.template') 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 -- cgit v1.2.3