cgit.c: make '/cgit.png' the default value for 'logo' option

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli 2009-08-10 18:14:12 +02:00
parent 4c228e3c3b
commit 92f9b53c42
2 changed files with 2 additions and 2 deletions

2
cgit.c
View File

@ -228,7 +228,7 @@ static void prepare_context(struct cgit_context *ctx)
ctx->cfg.cache_root_ttl = 5; ctx->cfg.cache_root_ttl = 5;
ctx->cfg.cache_static_ttl = -1; ctx->cfg.cache_static_ttl = -1;
ctx->cfg.css = "/cgit.css"; ctx->cfg.css = "/cgit.css";
ctx->cfg.logo = "/git-logo.png"; ctx->cfg.logo = "/cgit.png";
ctx->cfg.local_time = 0; ctx->cfg.local_time = 0;
ctx->cfg.max_repo_count = 50; ctx->cfg.max_repo_count = 50;
ctx->cfg.max_commit_count = 50; ctx->cfg.max_commit_count = 50;

View File

@ -132,7 +132,7 @@ local-time::
logo:: logo::
Url which specifies the source of an image which will be used as a logo Url which specifies the source of an image which will be used as a logo
on all cgit pages. on all cgit pages. Default value: "/cgit.png".
logo-link:: logo-link::
Url loaded when clicking on the cgit logo image. If unspecified the Url loaded when clicking on the cgit logo image. If unspecified the