mirror of
https://git.zx2c4.com/cgit
synced 2025-08-03 09:34:43 +02:00
Add setting to enable/disable extra links on index page
The summary/log/tree links displayed for each repository on the index page lost some of their purpose when the header menu was added, so this commit introduces the parameter 'enable-index-links' which must be set to 1 to enable these links. Suggested-by: Kristian Høgsberg <krh@bitplanet.net> Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
a215bf4620
commit
0d05bca502
4 changed files with 31 additions and 12 deletions
1
cgit.h
1
cgit.h
|
@ -118,6 +118,7 @@ extern char *cgit_repo_group;
|
|||
|
||||
extern int cgit_nocache;
|
||||
extern int cgit_snapshots;
|
||||
extern int cgit_enable_index_links;
|
||||
extern int cgit_enable_log_filecount;
|
||||
extern int cgit_enable_log_linecount;
|
||||
extern int cgit_max_lock_attempts;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue