X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/7530d94f05887b8065742adb614c368d8568a22c..19c31231fac828bb336db67b8cccc871bea1500e:/ui-shared.c?ds=sidebyside diff --git a/ui-shared.c b/ui-shared.c index 85c2096..3e9282f 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -619,7 +619,7 @@ void cgit_print_docstart(struct cgit_context *ctx) html_attr(ctx->cfg.favicon); html("'/>\n"); } - if (host && ctx->repo) { + if (host && ctx->repo && ctx->qry.head) { html("