mirror of
https://git.zx2c4.com/cgit
synced 2025-08-02 00:54:36 +02:00
ui-shared: add homepage to tabs
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
75298209bf
commit
5f2664f13c
7 changed files with 26 additions and 5 deletions
|
@ -61,6 +61,8 @@ static int gitconfig_config(const char *key, const char *value, void *cb)
|
|||
config_fn(repo, "desc", value);
|
||||
else if (!strcmp(key, "gitweb.category"))
|
||||
config_fn(repo, "section", value);
|
||||
else if (!strcmp(key, "gitweb.homepage"))
|
||||
config_fn(repo, "homepage", value);
|
||||
else if (starts_with(key, "cgit."))
|
||||
config_fn(repo, key + 5, value);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue