From d8e17abbe4b08e9a7975062ac5a323835223344b Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 1 Nov 2026 18:18:03 -1000 Subject: Name the logo after the site --- source/ui-shared.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/ui-shared.c') diff --git a/source/ui-shared.c b/source/ui-shared.c index c3eee0b..268de57 100644 --- a/source/ui-shared.c +++ b/source/ui-shared.c @@ -394,7 +394,11 @@ static void print_header(void) html_attr(ctx.cfg.virtual_root); html("'>cgit logo\n"); + // The image is all the link holds, so its text names where the + // link goes, the site's index unless logo-link says otherwise. + html("' alt='"); + html_attr(ctx.cfg.root_title); + html("'>\n"); } html("

"); -- cgit 2.12.1