aboutsummaryrefslogtreecommitdiffstats
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>2024-01-30 09:06:33 +0100
commitd9f3d6fb1817fd22512ac62e8d7c36c67dc5584a (patch)
tree17c9acce3bb78c564ef97d6ff76147f690b25f8d /cgit.h
parentconfig: make empty js= omit script tag (diff)
downloadcgit-ch/default-pages.tar.xz
cgit-ch/default-pages.zip
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;