From 99c81764f66c0877a7ed66f5a03d52f948377678 Mon Sep 17 00:00:00 2001 From: equa Date: Thu, 6 Jan 2022 18:18:05 -0600 Subject: Add "default-tab" and "root-default-tab" configuration options These options allow the user to specify a page to display at the root repository/index location instead of the default summary or repository list. Signed-off-by: equa --- cgit.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index 69b5c13..bb555cf 100644 --- a/cgit.h +++ b/cgit.h @@ -86,6 +86,7 @@ struct cgit_repo { char *owner; char *homepage; char *defbranch; + char *default_tab; char *module_link; struct string_list readme; char *section; @@ -215,6 +216,8 @@ struct cgit_config { char *repository_sort; char *virtual_root; /* Always ends with '/'. */ char *strict_export; + char *default_tab; + char *root_default_tab; int cache_size; int cache_dynamic_ttl; int cache_max_create_time; -- cgit 1.3.0-6-gf8a5