X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/17890d0058c1555133c8767ceb123e809e6971ab..d2eb4fddb0fb7cd1751debcff6fe1219b9c619c8:/ui-shared.c diff --git a/ui-shared.c b/ui-shared.c index cd98387..6f83d2a 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -437,16 +437,27 @@ void cgit_print_docstart(struct cgit_context *ctx) html("\n"); + if (ctx->cfg.favicon) { + html("\n"); + } html("\n"); html("\n"); } void cgit_print_docend() { - html("\n\n\n"); + html(""); + if (ctx.cfg.footer) + html_include(ctx.cfg.footer); + else { + html("\n"); + } + html("\n\n"); } int print_branch_option(const char *refname, const unsigned char *sha1,