summaryrefslogtreecommitdiffabout
authorLars Hjemli <hjemli@gmail.com>2009-08-10 16:14:12 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2009-08-10 16:59:31 (UTC)
commit92f9b53c4211cd2c8241b62db37affd91dab358d (patch) (side-by-side diff)
tree262c16d1bf1b581df8c5336392f1c68ae20730a2
parent4c228e3c3b9d457b603f2a65bd98aaedb3c16b3a (diff)
downloadcgit-92f9b53c4211cd2c8241b62db37affd91dab358d.zip
cgit-92f9b53c4211cd2c8241b62db37affd91dab358d.tar.gz
cgit-92f9b53c4211cd2c8241b62db37affd91dab358d.tar.bz2
cgit.c: make '/cgit.png' the default value for 'logo' option
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--cgit.c2
-rw-r--r--cgitrc.5.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/cgit.c b/cgit.c
index 7b228af..bf46b5a 100644
--- a/cgit.c
+++ b/cgit.c
@@ -227,9 +227,9 @@ static void prepare_context(struct cgit_context *ctx)
ctx->cfg.cache_root = CGIT_CACHE_ROOT;
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;
ctx->cfg.max_lock_attempts = 5;
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 4d656fe..54490eb 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -131,9 +131,9 @@ local-time::
servers timezone. Default value: "0".
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
calculated url of the repository index page will be used. Default