From 502865a5ec40fed5f1f865cb34002aecaab8405e Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Sat, 19 Jul 2008 20:40:30 +0200 Subject: Add a favicon option to cgitrc This option is used to specify a shortcut icon on all cgit pages. Signed-off-by: Lars Hjemli --- ui-shared.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ui-shared.c') diff --git a/ui-shared.c b/ui-shared.c index 8a00099..6f83d2a 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -437,6 +437,11 @@ void cgit_print_docstart(struct cgit_context *ctx) html("\n"); + if (ctx->cfg.favicon) { + html("\n"); + } html("\n"); html("\n"); } -- cgit v1.2.3-59-g8ed1b