From 459de7be4ee456de29b5558ecb6897e6d685adfa Mon Sep 17 00:00:00 2001 From: "Alex Pooley (@zuedev)" Date: Mon, 11 May 2026 19:27:24 +0100 Subject: another readme fix --- cgitrc | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/cgitrc b/cgitrc index 0ce1f26..9454604 100644 --- a/cgitrc +++ b/cgitrc @@ -41,8 +41,38 @@ max-stats=year # use the first path component of the repository path as the section name section-from-path=1 -# set readme file -readme=README.md +## +## Search for these files in the root of the default branch of repositories +## for coming up with the about page: +## +readme=:README.md +readme=:readme.md +readme=:README.mkd +readme=:readme.mkd +readme=:README.rst +readme=:readme.rst +readme=:README.html +readme=:readme.html +readme=:README.htm +readme=:readme.htm +readme=:README.txt +readme=:readme.txt +readme=:README +readme=:readme +readme=:INSTALL.md +readme=:install.md +readme=:INSTALL.mkd +readme=:install.mkd +readme=:INSTALL.rst +readme=:install.rst +readme=:INSTALL.html +readme=:install.html +readme=:INSTALL.htm +readme=:install.htm +readme=:INSTALL.txt +readme=:install.txt +readme=:INSTALL +readme=:install # this has to be empty for cgit to work with a reverse proxy virtual-root= \ No newline at end of file -- cgit v1.2.3