From fc0c82f583075cddd823b61d8dfca0c272e0b0c2 Mon Sep 17 00:00:00 2001 From: Alexander Leonhardt Date: Sat, 15 Aug 2026 11:13:17 +0200 Subject: Added fixes for the new section description feature --- ui-repolist.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ui-repolist.c') diff --git a/ui-repolist.c b/ui-repolist.c index 265d450..ed6f12c 100644 --- a/ui-repolist.c +++ b/ui-repolist.c @@ -313,7 +313,11 @@ void cgit_print_repolist(void) (last_section != NULL && section == NULL) || (last_section != NULL && section != NULL && strcmp(section, last_section)))) { - htmlf("", + if(ctx.repo->section_desc != NULL) + htmlf("", + columns); + else + htmlf("", columns); html_txt(section); html(""); -- cgit