Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.zx2c4.com/cgit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2009-01-29 23:27:39 +0300
committerLars Hjemli <hjemli@gmail.com>2009-01-29 23:27:39 +0300
commitb115955d71c50cd2d0065c45f3df6b02fa4730bd (patch)
tree074182f3e305b4982a97c482ed5fbcc5c6d270a7 /ui-shared.c
parenta61871a18ffa9fc28e7ab0950415404350c8c857 (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.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()