aboutsummaryrefslogtreecommitdiff
path: root/cgit.h
diff options
context:
space:
mode:
authorNaïm Favier <fnaim42@gmail.com>2019-12-09 19:38:14 +0100
committerChristian Hesse <mail@eworm.de>2021-05-12 15:35:32 +0200
commitefe96cc0e19d69e74e235c431c634040ee08baa6 (patch)
tree2eea8e39f0887a4590e3ccdd57767cf54d96d499 /cgit.h
parenttests: t0107: support older and/or non-GNU tar (diff)
Make default pages configurablech/default-pages
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 69b5c13..a50c545 100644
--- a/cgit.h
+++ b/cgit.h
@@ -86,6 +86,7 @@ struct cgit_repo {
char *owner;
char *homepage;
char *defbranch;
+ char *default_page;
char *module_link;
struct string_list readme;
char *section;
@@ -196,6 +197,7 @@ struct cgit_config {
char *clone_prefix;
char *clone_url;
char *css;
+ char *default_page;
char *favicon;
char *footer;
char *head_include;
@@ -210,6 +212,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;