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
@@ -235,3 +235,3 @@ static void prepare_context(struct cgit_context *ctx)
ctx->cfg.css = "/cgit.css";
- ctx->cfg.logo = "/git-logo.png";
+ ctx->cfg.logo = "/cgit.png";
ctx->cfg.local_time = 0;
diff --git a/cgit.css b/cgit.css
index adfc8ae..e3b32e7 100644
--- a/cgit.css
+++ b/cgit.css
@@ -157,3 +157,3 @@ table.list td.logmsg {
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
@@ -16,2 +16,9 @@ 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
@@ -134,3 +141,3 @@ 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".