From 723ba6c1ff41bcd12b679302b3a0776540e454a4 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Thu, 29 Oct 2026 13:31:07 -1000 Subject: Offer the versions as an option enable-version-info brings back the cgit and git versions that 3a00e19 took off the footer and the generator tag, for a site that wants them, and the version 2a6726a put on the signature of patches now follows it too. It stays off by default for the reason 3a00e19 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