X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/9c15f3c6954e43c5ffd36230e666eccf112803f2..e9cbdf64632fbe64d6b0c4974ac947ef954938e7:/ui-shared.c diff --git a/ui-shared.c b/ui-shared.c index 03dcc08..9a38aa9 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -702,7 +702,6 @@ void cgit_redirect(const char *url, bool permanent) html("Location: "); html_url_path(url); html("\n\n"); - exit(0); } static void print_rel_vcs_link(const char *url) @@ -997,6 +996,11 @@ void cgit_print_pageheader(void) if (ctx.repo->max_stats) cgit_stats_link("stats", NULL, hc("stats"), ctx.qry.head, ctx.qry.vpath); + if (ctx.repo->homepage) { + html("homepage"); + } html(""); html("