aboutsummaryrefslogtreecommitdiffstats
path: root/ui-shared.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2009-01-29 21:27:39 +0100
committerLars Hjemli <hjemli@gmail.com>2009-01-29 21:27:39 +0100
commitb115955d71c50cd2d0065c45f3df6b02fa4730bd (patch)
tree074182f3e305b4982a97c482ed5fbcc5c6d270a7 /ui-shared.c
parentMerge branch 'stable' (diff)
downloadcgit-b115955d71c50cd2d0065c45f3df6b02fa4730bd.tar.xz
cgit-b115955d71c50cd2d0065c45f3df6b02fa4730bd.zip
Add support for a custom header
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to '')
-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()