X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/17890d0058c1555133c8767ceb123e809e6971ab..2d6ee032d0c2f84ebcfaa12d3289e85cfab18fcd:/ui-shared.c?ds=inline diff --git a/ui-shared.c b/ui-shared.c index cd98387..209af6e 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, @@ -561,12 +572,12 @@ void cgit_print_pageheader(struct cgit_context *ctx) html_txt(ctx->cfg.root_title); html("\n"); - html(""); if (ctx->repo) { - html(" colspan='2'>"); html_txt(ctx->repo->desc); + html(""); + html_txt(ctx->repo->owner); } else { - html(">"); if (ctx->cfg.root_desc) html_txt(ctx->cfg.root_desc); else if (ctx->cfg.index_info)