diff options
| author | 2008-07-20 03:40:30 (JST) | |
|---|---|---|
| committer | 2008-07-20 03:47:39 (JST) | |
| commit | 502865a5ec40fed5f1f865cb34002aecaab8405e (patch) | |
| tree | ab53ab68d6c56948502287ff3cdad45c409aebbb /cgit.c | |
| parent | de5e9281719809c5b07051faa88e95bd16e8d485 (diff) | |
| download | cgit-502865a5ec40fed5f1f865cb34002aecaab8405e.zip cgit-502865a5ec40fed5f1f865cb34002aecaab8405e.tar.gz | |
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) | |||
| 25 | ctx.cfg.root_readme = xstrdup(value); | 25 | ctx.cfg.root_readme = xstrdup(value); |
| 26 | else if (!strcmp(name, "css")) | 26 | else if (!strcmp(name, "css")) |
| 27 | ctx.cfg.css = xstrdup(value); | 27 | ctx.cfg.css = xstrdup(value); |
| 28 | else if (!strcmp(name, "favicon")) | ||
| 29 | ctx.cfg.favicon = xstrdup(value); | ||
| 28 | else if (!strcmp(name, "footer")) | 30 | else if (!strcmp(name, "footer")) |
| 29 | ctx.cfg.footer = xstrdup(value); | 31 | ctx.cfg.footer = xstrdup(value); |
| 30 | else if (!strcmp(name, "logo")) | 32 | else if (!strcmp(name, "logo")) |
