diff options
-rw-r--r-- | cgit.c | 2 | ||||
-rw-r--r-- | cgit.css | 2 | ||||
-rw-r--r-- | cgitrc.5.txt | 9 |
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 | |||
@@ -233,7 +233,7 @@ static void prepare_context(struct cgit_context *ctx) | |||
233 | ctx->cfg.cache_root_ttl = 5; | 233 | ctx->cfg.cache_root_ttl = 5; |
234 | ctx->cfg.cache_static_ttl = -1; | 234 | ctx->cfg.cache_static_ttl = -1; |
235 | ctx->cfg.css = "/cgit.css"; | 235 | ctx->cfg.css = "/cgit.css"; |
236 | ctx->cfg.logo = "/git-logo.png"; | 236 | ctx->cfg.logo = "/cgit.png"; |
237 | ctx->cfg.local_time = 0; | 237 | ctx->cfg.local_time = 0; |
238 | ctx->cfg.max_repo_count = 50; | 238 | ctx->cfg.max_repo_count = 50; |
239 | ctx->cfg.max_commit_count = 50; | 239 | ctx->cfg.max_commit_count = 50; |
diff --git a/cgit.css b/cgit.css index adfc8ae..e3b32e7 100644 --- a/cgit.css +++ b/cgit.css | |||
@@ -155,7 +155,7 @@ table.list td.logsubject { | |||
155 | table.list td.logmsg { | 155 | table.list td.logmsg { |
156 | font-family: monospace; | 156 | font-family: monospace; |
157 | white-space: pre; | 157 | white-space: pre; |
158 | padding: 1em 0em 2em 0em; | 158 | padding: 1em 0.5em 2em 0.5em; |
159 | } | 159 | } |
160 | 160 | ||
161 | table.list td a { | 161 | table.list td a { |
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 4d656fe..3c35b02 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt | |||
@@ -14,6 +14,13 @@ repositories, formatted as a line-separated list of NAME=VALUE pairs. Blank | |||
14 | lines, and lines starting with '#', are ignored. | 14 | lines, and lines starting with '#', are ignored. |
15 | 15 | ||
16 | 16 | ||
17 | LOCATION | ||
18 | -------- | ||
19 | The default location of cgitrc, defined at compile time, is /etc/cgitrc. At | ||
20 | runtime, cgit will consult the environment variable CGIT_CONFIG and, if | ||
21 | defined, use its value instead. | ||
22 | |||
23 | |||
17 | GLOBAL SETTINGS | 24 | GLOBAL SETTINGS |
18 | --------------- | 25 | --------------- |
19 | about-filter:: | 26 | about-filter:: |
@@ -132,7 +139,7 @@ local-time:: | |||
132 | 139 | ||
133 | logo:: | 140 | logo:: |
134 | Url which specifies the source of an image which will be used as a logo | 141 | Url which specifies the source of an image which will be used as a logo |
135 | on all cgit pages. | 142 | on all cgit pages. Default value: "/cgit.png". |
136 | 143 | ||
137 | logo-link:: | 144 | logo-link:: |
138 | Url loaded when clicking on the cgit logo image. If unspecified the | 145 | Url loaded when clicking on the cgit logo image. If unspecified the |