diff options
author | Lars Hjemli <hjemli@gmail.com> | 2009-02-01 19:17:52 +0100 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-02-01 19:17:52 +0100 |
commit | 0b3c746ba80738dbe0885a21406409390936537c (patch) | |
tree | 405a9f959feafab650f53e17561a1d3a85cb8097 /cgit.c | |
parent | Merge branch 'stable' (diff) | |
parent | Add support for a custom header (diff) | |
download | cgit-pink-0b3c746ba80738dbe0885a21406409390936537c.tar.gz cgit-pink-0b3c746ba80738dbe0885a21406409390936537c.zip |
Merge branch 'lh/header'
Diffstat (limited to '')
-rw-r--r-- | cgit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cgit.c b/cgit.c index 608cab6..64d95f9 100644 --- a/cgit.c +++ b/cgit.c @@ -31,6 +31,8 @@ void config_cb(const char *name, const char *value) ctx.cfg.favicon = xstrdup(value); else if (!strcmp(name, "footer")) ctx.cfg.footer = xstrdup(value); + else if (!strcmp(name, "header")) + ctx.cfg.header = xstrdup(value); else if (!strcmp(name, "logo")) ctx.cfg.logo = xstrdup(value); else if (!strcmp(name, "index-header")) |