X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/35d19bbb641aa56a21fb2c238994716c272e154f..5764fe95469f65fdee285467f0f87d188fc1a780:/ui-summary.c diff --git a/ui-summary.c b/ui-summary.c index 0b66b52..318148a 100644 --- a/ui-summary.c +++ b/ui-summary.c @@ -18,14 +18,14 @@ void cgit_print_summary() html_include(ctx.repo->readme); html(""); } - if (ctx.cfg.summary_log > 0) - cgit_print_log(ctx.qry.head, 0, ctx.cfg.summary_log, NULL, - NULL, NULL, 0); html(""); - if (ctx.cfg.summary_log > 0) - html(""); cgit_print_branches(ctx.cfg.summary_branches); html(""); cgit_print_tags(ctx.cfg.summary_tags); + if (ctx.cfg.summary_log > 0) { + html(""); + cgit_print_log(ctx.qry.head, 0, ctx.cfg.summary_log, NULL, + NULL, NULL, 0); + } html("
 
 
 
"); }