From 502865a5ec40fed5f1f865cb34002aecaab8405e Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sat, 19 Jul 2008 20:40:30 +0200 Subject: Add a favicon option to cgitrc This option is used to specify a shortcut icon on all cgit pages. Signed-off-by: Lars Hjemli --- cgit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cgit.c') diff --git a/cgit.c b/cgit.c index 8f154c9..8795085 100644 --- a/cgit.c +++ b/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")) -- cgit v1.2.3-59-g8ed1b