From b115955d71c50cd2d0065c45f3df6b02fa4730bd Mon Sep 17 00:00:00 2001
From: Lars Hjemli
Date: Thu, 29 Jan 2009 21:27:39 +0100
Subject: Add support for a custom header

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
---
 cgit.c | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'cgit.c')

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"))
-- 
cgit v1.2.3-54-g00ecf