author | Lars Hjemli <hjemli@gmail.com> | 2009-08-10 16:14:12 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-08-10 16:59:31 (UTC) |
commit | 92f9b53c4211cd2c8241b62db37affd91dab358d (patch) (unidiff) | |
tree | 262c16d1bf1b581df8c5336392f1c68ae20730a2 | |
parent | 4c228e3c3b9d457b603f2a65bd98aaedb3c16b3a (diff) | |
download | cgit-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>
-rw-r--r-- | cgit.c | 2 | ||||
-rw-r--r-- | cgitrc.5.txt | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -223,17 +223,17 @@ static void prepare_context(struct cgit_context *ctx) | |||
223 | ctx->cfg.cache_size = 0; | 223 | ctx->cfg.cache_size = 0; |
224 | ctx->cfg.cache_dynamic_ttl = 5; | 224 | ctx->cfg.cache_dynamic_ttl = 5; |
225 | ctx->cfg.cache_max_create_time = 5; | 225 | ctx->cfg.cache_max_create_time = 5; |
226 | ctx->cfg.cache_repo_ttl = 5; | 226 | ctx->cfg.cache_repo_ttl = 5; |
227 | ctx->cfg.cache_root = CGIT_CACHE_ROOT; | 227 | ctx->cfg.cache_root = CGIT_CACHE_ROOT; |
228 | ctx->cfg.cache_root_ttl = 5; | 228 | ctx->cfg.cache_root_ttl = 5; |
229 | ctx->cfg.cache_static_ttl = -1; | 229 | ctx->cfg.cache_static_ttl = -1; |
230 | ctx->cfg.css = "/cgit.css"; | 230 | ctx->cfg.css = "/cgit.css"; |
231 | ctx->cfg.logo = "/git-logo.png"; | 231 | ctx->cfg.logo = "/cgit.png"; |
232 | ctx->cfg.local_time = 0; | 232 | ctx->cfg.local_time = 0; |
233 | ctx->cfg.max_repo_count = 50; | 233 | ctx->cfg.max_repo_count = 50; |
234 | ctx->cfg.max_commit_count = 50; | 234 | ctx->cfg.max_commit_count = 50; |
235 | ctx->cfg.max_lock_attempts = 5; | 235 | ctx->cfg.max_lock_attempts = 5; |
236 | ctx->cfg.max_msg_len = 80; | 236 | ctx->cfg.max_msg_len = 80; |
237 | ctx->cfg.max_repodesc_len = 80; | 237 | ctx->cfg.max_repodesc_len = 80; |
238 | ctx->cfg.max_stats = 0; | 238 | ctx->cfg.max_stats = 0; |
239 | ctx->cfg.module_link = "./?repo=%s&page=commit&id=%s"; | 239 | ctx->cfg.module_link = "./?repo=%s&page=commit&id=%s"; |
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 4d656fe..54490eb 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt | |||
@@ -127,17 +127,17 @@ index-info:: | |||
127 | instead). Default value: none. | 127 | instead). Default value: none. |
128 | 128 | ||
129 | local-time:: | 129 | local-time:: |
130 | Flag which, if set to "1", makes cgit print commit and tag times in the | 130 | Flag which, if set to "1", makes cgit print commit and tag times in the |
131 | servers timezone. Default value: "0". | 131 | servers timezone. Default value: "0". |
132 | 132 | ||
133 | logo:: | 133 | logo:: |
134 | Url which specifies the source of an image which will be used as a logo | 134 | Url which specifies the source of an image which will be used as a logo |
135 | on all cgit pages. | 135 | on all cgit pages. Default value: "/cgit.png". |
136 | 136 | ||
137 | logo-link:: | 137 | logo-link:: |
138 | Url loaded when clicking on the cgit logo image. If unspecified the | 138 | Url loaded when clicking on the cgit logo image. If unspecified the |
139 | calculated url of the repository index page will be used. Default | 139 | calculated url of the repository index page will be used. Default |
140 | value: none. | 140 | value: none. |
141 | 141 | ||
142 | max-commit-count:: | 142 | max-commit-count:: |
143 | Specifies the number of entries to list per page in "log" view. Default | 143 | Specifies the number of entries to list per page in "log" view. Default |