X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/3cfcb086abfc2e94426623b487a47a8b5cc57b7e..c6431a71508f1b61a95b01d85fe4534a0245e626:/ui-shared.c diff --git a/ui-shared.c b/ui-shared.c index 8a804c2..83758f7 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -510,7 +510,10 @@ void cgit_print_pageheader(struct cgit_context *ctx) html_txt(ctx->repo->desc); } 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");