aboutsummaryrefslogtreecommitdiffhomepage
path: root/cgit.h
diff options
context:
space:
mode:
authorNaïm Favier <fnaim42@gmail.com>2019-12-09 19:38:14 +0100
committerBlake Romero <blake@blkrom.com>2024-10-17 19:37:52 +0100
commitb61c03dbed3fa22ea18b00b3ac62a01d04c9c9d0 (patch)
tree0e95529d1c8ac7ddf60707b57b73fba6aaae7e1a /cgit.h
parent09d24d7cd0b7e85633f2f43808b12871bb209d69 (diff)
Make default pages configurable
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'cgit.h')
-rw-r--r--cgit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgit.h b/cgit.h
index e0d286d..da3ed63 100644
--- a/cgit.h
+++ b/cgit.h
@@ -91,6 +91,7 @@ struct cgit_repo {
char *owner;
char *homepage;
char *defbranch;
+ char *default_page;
char *module_link;
struct string_list readme;
char *section;
@@ -200,6 +201,7 @@ struct cgit_config {
char *cache_root;
char *clone_prefix;
char *clone_url;
+ char *default_page;
char *favicon;
char *footer;
char *head_include;
@@ -215,6 +217,7 @@ struct cgit_config {
char *root_title;
char *root_desc;
char *root_readme;
+ char *root_default_page;
char *script_name;
char *section;
char *repository_sort;