aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
authorAlexander Leonhardt <equinox.salexander@gmail.com>
2026-08-13 09:49:49 +0200
committerAlexander Leonhardt <equinox.salexander@gmail.com>
2026-08-13 09:49:49 +0200
commit549f33d963fe65b21317098d9ea2b89d6a20f5a2 (patch)
tree9d64e1292b8c1ee69856a3b4424fc468169c9738 /ui-shared.c
parent589c5497de4895b2d474d06c04e724ba32e1308b (diff)
downloadcgit-549f33d963fe65b21317098d9ea2b89d6a20f5a2.tar.gz
cgit-549f33d963fe65b21317098d9ea2b89d6a20f5a2.tar.bz2
cgit-549f33d963fe65b21317098d9ea2b89d6a20f5a2.zip
Added an extra styling element
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui-shared.c b/ui-shared.c
index c3b7cef..21eb3e9 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -1056,8 +1056,11 @@ static void print_header(void)
html("<input type='submit' value='switch'/>");
html("</form>");
}
- } else
+ } else {
+ html_txt("<span id='root-title'>");
html_txt(ctx.cfg.root_title);
+ html_txt("</span>");
+ }
html("</td></tr>\n");
html("<tr><td class='sub'>");