mirror of
https://git.zx2c4.com/cgit
synced 2025-07-10 02:04:33 +02:00
Make default pages configurable
Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
00ecfaadea
commit
d9f3d6fb18
7 changed files with 48 additions and 13 deletions
3
cgit.h
3
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue