Add support for a custom header
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
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"))
|
||||
|
Reference in New Issue
Block a user