]> granicus.if.org Git - cgit/commitdiff
cgit.c: make '/cgit.png' the default value for 'logo' option
authorLars Hjemli <hjemli@gmail.com>
Mon, 10 Aug 2009 16:14:12 +0000 (18:14 +0200)
committerLars Hjemli <hjemli@gmail.com>
Mon, 10 Aug 2009 16:59:31 +0000 (18:59 +0200)
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.c
cgitrc.5.txt

diff --git a/cgit.c b/cgit.c
index 7b228af83046faef92602b0a74a6e1e6e58fea47..bf46b5a91aa20673702a49fe7d2d6521cfa6ac5b 100644 (file)
--- a/cgit.c
+++ b/cgit.c
@@ -228,7 +228,7 @@ static void prepare_context(struct cgit_context *ctx)
        ctx->cfg.cache_root_ttl = 5;
        ctx->cfg.cache_static_ttl = -1;
        ctx->cfg.css = "/cgit.css";
-       ctx->cfg.logo = "/git-logo.png";
+       ctx->cfg.logo = "/cgit.png";
        ctx->cfg.local_time = 0;
        ctx->cfg.max_repo_count = 50;
        ctx->cfg.max_commit_count = 50;
index 4d656fee5323fb35f0846ec086d7dfbd016d21c3..54490eb1a6cac6db170cb658a05e3b95c64ae75d 100644 (file)
@@ -132,7 +132,7 @@ local-time::
 
 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::
        Url loaded when clicking on the cgit logo image. If unspecified the