X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/29b37e9781ce1bb04e558c7490d2c29eb1a477e5..de5e9281719809c5b07051faa88e95bd16e8d485:/ui-shared.c diff --git a/ui-shared.c b/ui-shared.c index cd98387..8a00099 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -443,10 +443,16 @@ void cgit_print_docstart(struct cgit_context *ctx) 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,