mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 16:38:42 +00:00
cgit.c: make '/cgit.png' the default value for 'logo' option
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
4c228e3c3b
commit
92f9b53c42
2
cgit.c
2
cgit.c
@ -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;
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user