Add a favicon option to cgitrc
This option is used to specify a shortcut icon on all cgit pages. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
2
cgit.c
2
cgit.c
@ -25,6 +25,8 @@ void config_cb(const char *name, const char *value)
|
||||
ctx.cfg.root_readme = xstrdup(value);
|
||||
else if (!strcmp(name, "css"))
|
||||
ctx.cfg.css = xstrdup(value);
|
||||
else if (!strcmp(name, "favicon"))
|
||||
ctx.cfg.favicon = xstrdup(value);
|
||||
else if (!strcmp(name, "footer"))
|
||||
ctx.cfg.footer = xstrdup(value);
|
||||
else if (!strcmp(name, "logo"))
|
||||
|
Reference in New Issue
Block a user