From 579efd9fcc01e92278f8a2a42a39c52aa6a900a1 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Tue, 27 Oct 2026 18:35:45 -1000 Subject: Offer the versions as an option enable-version-info brings back the cgit and git versions that 872bd7c took off the footer and the generator tag, for a site that wants them, and the version f7d2b83 put on the signature of patches now follows it too. It stays off by default for the reason 872bd7c gave. --- MANUAL.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'MANUAL.txt') diff --git a/MANUAL.txt b/MANUAL.txt index e14b0dc..c6909cc 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -287,6 +287,14 @@ enable-tree-linenumbers:: Flag which, when set to "1", makes cgit generate linenumber links for plaintext blobs printed in the tree and blame pages. Default value: "1". +enable-version-info:: + Flag which, when set to "1", names the cgit and git versions in the + standard page footer and the generator meta tag, and the cgit version + in the signature that ends each patch. Exact versions help someone + match a site against published advisories, so they are left out unless + a site asks for them, and a footer set with footer replaces the + standard one either way. Default value: "0". + favicon:: Url used as link to the icon for cgit. Any path works, but keeping the value "/favicon.ico" is still worthwhile, since clients that do not -- cgit 2.12.1