X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/76ba6287bfb533baca7285b107b5d975581d449d..4c9916043d6aabb8278e0d78f5fa71a59f82889d:/ui-shared.c diff --git a/ui-shared.c b/ui-shared.c index bb08c4a..83758f7 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -484,15 +484,10 @@ void cgit_print_pageheader(struct cgit_context *ctx) html_attr(cgit_rooturl()); html("'>\n"); + html("' alt='cgit logo'/>\n"); html(""); if (ctx->repo) { -/* - html("index : "); -*/ reporevlink(NULL, ctx->repo->name, NULL, hc(cmd, "summary"), ctx->qry.head, NULL, NULL); html(" : "); @@ -507,25 +502,20 @@ void cgit_print_pageheader(struct cgit_context *ctx) html(""); } else html_txt(ctx->cfg.root_title); - html("\n"); + html("\n"); html("repo) { html(" colspan='2'>"); html_txt(ctx->repo->desc); - } -/* - else if (ctx->cfg.root_subtitle) - html_txt(ctx->cfg.root_subtitle); -*/ - else { + } else { html(">"); - html_txt("a fast webinterface for the git dscm"); + if (ctx->cfg.root_desc) + html_txt(ctx->cfg.root_desc); + else if (ctx->cfg.index_info) + html_include(ctx->cfg.index_info); } - html("\n"); - - html("\n"); - html("\n"); + html("\n"); html("
\n"); if (ctx->repo) {