mirror of
https://git.zx2c4.com/cgit
synced 2025-08-14 22:52:23 +02:00
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:
parent
de5e928171
commit
502865a5ec
4 changed files with 10 additions and 0 deletions
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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue