about summary refs log tree commit diff
path: root/ui-shared.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2009-02-01 19:17:52 +0100
committerLars Hjemli <hjemli@gmail.com>2009-02-01 19:17:52 +0100
commit0b3c746ba80738dbe0885a21406409390936537c (patch)
tree405a9f959feafab650f53e17561a1d3a85cb8097 /ui-shared.c
parentMerge branch 'stable' (diff)
parentAdd support for a custom header (diff)
downloadcgit-pink-0b3c746ba80738dbe0885a21406409390936537c.tar.gz
cgit-pink-0b3c746ba80738dbe0885a21406409390936537c.zip
Merge branch 'lh/header'
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 4f28512..de77bbf 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -500,6 +500,8 @@ void cgit_print_docstart(struct cgit_context *ctx)
 	}
 	html("</head>\n");
 	html("<body>\n");
+	if (ctx->cfg.header)
+		html_include(ctx->cfg.header);
 }
 
 void cgit_print_docend()