[PATCH] Add title to site readme page
Sebastiano Tronto
sebastiano at tronto.net
Tue Jul 7 16:23:15 UTC 2026
Hello,
I am playing around with cgit and I noticed that the title was missing
in my about page (site readme). I am not sure this is the correct way
to fix it, but it works on my machine.
Signed-off-by: Sebastiano Tronto <sebastiano at tronto.net>
---
ui-repolist.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui-repolist.c b/ui-repolist.c
index 1b224cf..4a70917 100644
--- a/ui-repolist.c
+++ b/ui-repolist.c
@@ -368,6 +368,7 @@ void cgit_print_repolist(void)
void cgit_print_site_readme(void)
{
+ ctx.page.title = ctx.cfg.root_title;
cgit_print_layout_start();
if (!ctx.cfg.root_readme)
goto done;
--
2.54.0
More information about the CGit
mailing list