From ae880cb54f43744225768c035bf5a97dc859d4c0 Mon Sep 17 00:00:00 2001 From: Alexander Leonhardt Date: Sat, 15 Aug 2026 10:57:32 +0200 Subject: Added repository section description --- cgit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cgit.c') diff --git a/cgit.c b/cgit.c index ca318e8..130f49d 100644 --- a/cgit.c +++ b/cgit.c @@ -97,6 +97,8 @@ void cgit_repo_config(struct cgit_repo *repo, const char *name, const char *valu item->util = strdup_first_line(value); } else if (!strcmp(name, "section")) repo->section = strdup_first_line(value); + else if (!strcmp(name, "section_desc")) + repo->section_desc = strdup_first_line(value); else if (!strcmp(name, "snapshot-prefix")) repo->snapshot_prefix = strdup_first_line(value); else if (!strcmp(name, "readme") && value != NULL) { -- cgit