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 <[email protected]>
---
 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

Reply via email to