summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.c2
-rw-r--r--cgit.css2
-rw-r--r--cgitrc.5.txt9
3 files changed, 10 insertions, 3 deletions
diff --git a/cgit.c b/cgit.c
index 36777b5..66dd140 100644
--- a/cgit.c
+++ b/cgit.c
@@ -234,5 +234,5 @@ static void prepare_context(struct cgit_context *ctx)
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;
diff --git a/cgit.css b/cgit.css
index adfc8ae..e3b32e7 100644
--- a/cgit.css
+++ b/cgit.css
@@ -156,5 +156,5 @@ table.list td.logmsg {
font-family: monospace;
white-space: pre;
- padding: 1em 0em 2em 0em;
+ padding: 1em 0.5em 2em 0.5em;
}
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 4d656fe..3c35b02 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -15,4 +15,11 @@ lines, and lines starting with '#', are ignored.
+LOCATION
+--------
+The default location of cgitrc, defined at compile time, is /etc/cgitrc. At
+runtime, cgit will consult the environment variable CGIT_CONFIG and, if
+defined, use its value instead.
+
+
GLOBAL SETTINGS
---------------
@@ -133,5 +140,5 @@ 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::