diff options
author | Lars Hjemli <hjemli@gmail.com> | 2009-01-29 23:27:39 +0300 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-01-29 23:27:39 +0300 |
commit | b115955d71c50cd2d0065c45f3df6b02fa4730bd (patch) | |
tree | 074182f3e305b4982a97c482ed5fbcc5c6d270a7 /ui-shared.c | |
parent | a61871a18ffa9fc28e7ab0950415404350c8c857 (diff) |
Add support for a custom header
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'ui-shared.c')
-rw-r--r-- | ui-shared.c | 2 |
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() |