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
parentde5e9281719809c5b07051faa88e95bd16e8d485 (diff)
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 '')
-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"))