Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/cgit.h
diff options
context:
space:
mode:
authorNaïm Favier <fnaim42@gmail.com>2019-12-09 21:38:14 +0300
committerChristian Hesse <mail@eworm.de>2024-01-30 11:06:33 +0300
commitd9f3d6fb1817fd22512ac62e8d7c36c67dc5584a (patch)
tree17c9acce3bb78c564ef97d6ff76147f690b25f8d /cgit.h
parent00ecfaadea2c40cc62b7a43e246384329e6ddb98 (diff)
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;