From d45fda274030bf32a62f67cb224931a60bd3b382 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Fri, 31 Jul 2026 23:12:10 +0200 Subject: Fixed the bad theming and the width --- modules/cgit.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/cgit.nix') diff --git a/modules/cgit.nix b/modules/cgit.nix index 28b3531..8c411a7 100644 --- a/modules/cgit.nix +++ b/modules/cgit.nix @@ -77,6 +77,15 @@ # Syntax highlighting source-filter = "${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py"; about-filter = "${pkgs.cgit}/lib/cgit/filters/about-formatting.sh"; + + # Which file about-filter renders on a repo's summary page - tried in + # order, first match wins (a list here becomes repeated `readme=` + # lines, cgitrc's own convention for this setting). + readme = [ + ":README.md" + ":readme.md" + ":README" + ]; }; }; -- cgit v1.3.1