aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.c
diff options
context:
space:
mode:
authorLars Hjemli <larsh@hatman.(none)>2008-07-19 20:40:30 +0200
committerLars Hjemli <larsh@hatman.(none)>2008-07-19 20:47:39 +0200
commit502865a5ec40fed5f1f865cb34002aecaab8405e (patch)
treeab53ab68d6c56948502287ff3cdad45c409aebbb /cgit.c
parentAdd support for including a footer on all pages (diff)
downloadcgit-502865a5ec40fed5f1f865cb34002aecaab8405e.tar.xz
cgit-502865a5ec40fed5f1f865cb34002aecaab8405e.zip
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>
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c2
1 files changed, 2 insertions, 0 deletions
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"))