diff options
Diffstat (limited to 'shared.c')
-rw-r--r-- | shared.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -15,6 +15,7 @@ int cgit_cmd; | |||
15 | char *cgit_root_title = "Git repository browser"; | 15 | char *cgit_root_title = "Git repository browser"; |
16 | char *cgit_css = "/cgit.css"; | 16 | char *cgit_css = "/cgit.css"; |
17 | char *cgit_logo = "/git-logo.png"; | 17 | char *cgit_logo = "/git-logo.png"; |
18 | char *cgit_index_header = NULL; | ||
18 | char *cgit_logo_link = "http://www.kernel.org/pub/software/scm/git/docs/"; | 19 | char *cgit_logo_link = "http://www.kernel.org/pub/software/scm/git/docs/"; |
19 | char *cgit_module_link = "./?repo=%s&page=commit&id=%s"; | 20 | char *cgit_module_link = "./?repo=%s&page=commit&id=%s"; |
20 | char *cgit_virtual_root = NULL; | 21 | char *cgit_virtual_root = NULL; |
@@ -127,6 +128,8 @@ void cgit_global_config_cb(const char *name, const char *value) | |||
127 | cgit_css = xstrdup(value); | 128 | cgit_css = xstrdup(value); |
128 | else if (!strcmp(name, "logo")) | 129 | else if (!strcmp(name, "logo")) |
129 | cgit_logo = xstrdup(value); | 130 | cgit_logo = xstrdup(value); |
131 | else if (!strcmp(name, "index-header")) | ||
132 | cgit_index_header = xstrdup(value); | ||
130 | else if (!strcmp(name, "logo-link")) | 133 | else if (!strcmp(name, "logo-link")) |
131 | cgit_logo_link = xstrdup(value); | 134 | cgit_logo_link = xstrdup(value); |
132 | else if (!strcmp(name, "module-link")) | 135 | else if (!strcmp(name, "module-link")) |