mirror of
https://git.zx2c4.com/cgit
synced 2025-07-24 20:55:56 +02:00
Add support for a custom header
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
a61871a18f
commit
b115955d71
4 changed files with 9 additions and 0 deletions
2
cgit.c
2
cgit.c
|
@ -31,6 +31,8 @@ void config_cb(const char *name, const char *value)
|
|||
ctx.cfg.favicon = xstrdup(value);
|
||||
else if (!strcmp(name, "footer"))
|
||||
ctx.cfg.footer = xstrdup(value);
|
||||
else if (!strcmp(name, "header"))
|
||||
ctx.cfg.header = xstrdup(value);
|
||||
else if (!strcmp(name, "logo"))
|
||||
ctx.cfg.logo = xstrdup(value);
|
||||
else if (!strcmp(name, "index-header"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue