Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Name the logo after the site
Diffstat (limited to 'source/ui-shared.c')
| -rw-r--r-- | source/ui-shared.c | 6 |
1 file changed, 5 insertions, 1 deletion
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("'><img src='"); html_attr(logo); - html("' alt='cgit logo'></a>\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("'></a>\n"); } html("<h1 class='main'>"); |
