diff options
author | Lars Hjemli <larsh@hatman.(none)> | 2008-07-19 18:40:30 +0000 |
---|---|---|
committer | Lars Hjemli <larsh@hatman.(none)> | 2008-07-19 18:47:39 +0000 |
commit | 502865a5ec40fed5f1f865cb34002aecaab8405e (patch) | |
tree | ab53ab68d6c56948502287ff3cdad45c409aebbb /cgit.c | |
parent | de5e9281719809c5b07051faa88e95bd16e8d485 (diff) | |
download | cgit-502865a5ec40fed5f1f865cb34002aecaab8405e.tar cgit-502865a5ec40fed5f1f865cb34002aecaab8405e.tar.gz 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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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")) |