summaryrefslogtreecommitdiff
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>2022-12-19 18:02:52 +0100
commitecd9c584ce5894f4a06d23eec5678a642c2f7020 (patch)
treebafdc6b4f72be20c28dcbaddc3b9b67061c8c24d /cgit.h
parent907134b7a29177cb45aa461c549c004b1ae875af (diff)
downloadcgit-ch/default-pages.tar.gz
Make default pages configurablech/default-pages
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 ddd2ccb..9f9daac 100644
--- a/cgit.h
+++ b/cgit.h
@@ -87,6 +87,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 *cache_root;
char *clone_prefix;
char *clone_url;
+ char *default_page;
char *favicon;
char *footer;
char *head_include;
@@ -211,6 +213,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;