From 2cfee938ddc975beb95b17a9a676e9575045f7c5 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Tue, 3 Nov 2026 19:44:07 -1000 Subject: List a theme after cgit.css Any css or js line replaces the default rather than adding to it, so a theme set with a single css line, as the README implied, left every page unstyled. --- MANUAL.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'MANUAL.txt') diff --git a/MANUAL.txt b/MANUAL.txt index 5aa4ebf..ce440c8 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -126,8 +126,9 @@ css:: Url which specifies the CSS document to include in all cgit pages. May be given multiple times, and each CSS url path is added in the head section of the document in turn. Setting this to an empty string will - disable generation of the link to this file in the head section. Default - value: "/cgit.css". + disable generation of the link to this file in the head section. The + first css line replaces the default, so a site stylesheet goes on a line + of its own after css=/cgit.css. Default value: "/cgit.css". date-format:: Format used for the calendar dates in the age columns of the log, refs @@ -321,7 +322,9 @@ js:: added in the head section of the document in turn. Each is loaded with defer, so it runs once the page has been parsed, still in the order given. Setting this to an empty string will disable generation of the - link to this file in the head section. Default value: "/cgit.js". + link to this file in the head section. The first js line replaces the + default, so a site script goes on a line of its own after js=/cgit.js. + Default value: "/cgit.js". local-time:: Flag which, if set to "1", makes cgit print commit and tag times in the -- cgit 2.12.1