aboutsummaryrefslogtreecommitdiffstats
path: root/shared.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared.c')
-rw-r--r--shared.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared.c b/shared.c
index 0b074da..45fde7f 100644
--- a/shared.c
+++ b/shared.c
@@ -15,6 +15,7 @@ int cgit_cmd;
15char *cgit_root_title = "Git repository browser"; 15char *cgit_root_title = "Git repository browser";
16char *cgit_css = "/cgit.css"; 16char *cgit_css = "/cgit.css";
17char *cgit_logo = "/git-logo.png"; 17char *cgit_logo = "/git-logo.png";
18char *cgit_index_header = NULL;
18char *cgit_logo_link = "http://www.kernel.org/pub/software/scm/git/docs/"; 19char *cgit_logo_link = "http://www.kernel.org/pub/software/scm/git/docs/";
19char *cgit_module_link = "./?repo=%s&page=commit&id=%s"; 20char *cgit_module_link = "./?repo=%s&page=commit&id=%s";
20char *cgit_virtual_root = NULL; 21char *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"))