From 2668974affbf0e8e83950a71b4e72eff9a384693 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Thu, 5 Nov 2026 22:40:47 -1000 Subject: Say that an about page needs a readme line Without one a repository has no about tab and its about url redirects to the summary, so a site that sets only about-filter never sees the renderer run. --- custom/cgitrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'custom/cgitrc') diff --git a/custom/cgitrc b/custom/cgitrc index d3f9f88..884c737 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -284,8 +284,9 @@ enable-http-clone=1 trust-scan-config=0 # Filter command used to format about-page content. The bundled about-render.lua -# renders markdown, man pages and plain text. Value is a command. Default is -# none. +# renders markdown, man pages and plain text. A repository has an about page +# only when a readme or repo.readme line names a file that exists. Value is a +# command. Default is none. #about-filter=lua:/usr/local/lib/cgit/filters/about-render.lua # Filter command used to format commit messages, for example to turn object -- cgit 2.12.1