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. --- custom/cgitrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'custom') diff --git a/custom/cgitrc b/custom/cgitrc index 85bd531..427ced0 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -75,12 +75,14 @@ root-desc=a fast webinterface for the git dscm #readme=:README.md # CSS document urls added to the head of every page. An empty value disables it. -# Value is a url, and each css line adds one. Default is /cgit.css. +# The first css line replaces the default, so put a theme on a line after this +# one. Value is a url, and each css line adds one. Default is /cgit.css. css=/cgit.css # JavaScript document urls included on every page, loaded with defer in the -# order given. An empty value disables it. Value is a url, and each js line -# adds one. Default is /cgit.js. +# order given. An empty value disables it. The first js line replaces the +# default, so put a script of your own on a line after this one. Value is a +# url, and each js line adds one. Default is /cgit.js. js=/cgit.js # Shortcut icon url for all pages. Value is a url. Default is /favicon.ico. -- cgit 2.12.1