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>
Lars Hjemli larsh@hatman.(none)
Sat, 19 Jul 2008 20:40:30 +0200
4 files changed,
10 insertions(+),
0 deletions(-)
M
cgit.c
→
cgit.c
@@ -25,6 +25,8 @@ else if (!strcmp(name, "root-readme"))
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"))