summaryrefslogtreecommitdiffabout
path: root/cgit.c
Unidiff
Diffstat (limited to 'cgit.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgit.c b/cgit.c
index 38b0ba5..bbde64b 100644
--- a/cgit.c
+++ b/cgit.c
@@ -20,4 +20,6 @@ void config_cb(const char *name, const char *value)
20 if (!strcmp(name, "root-title")) 20 if (!strcmp(name, "root-title"))
21 ctx.cfg.root_title = xstrdup(value); 21 ctx.cfg.root_title = xstrdup(value);
22 else if (!strcmp(name, "root-desc"))
23 ctx.cfg.root_desc = xstrdup(value);
22 else if (!strcmp(name, "css")) 24 else if (!strcmp(name, "css"))
23 ctx.cfg.css = xstrdup(value); 25 ctx.cfg.css = xstrdup(value);
@@ -160,4 +162,5 @@ static void prepare_context(struct cgit_context *ctx)
160 ctx->cfg.robots = "index, nofollow"; 162 ctx->cfg.robots = "index, nofollow";
161 ctx->cfg.root_title = "Git repository browser"; 163 ctx->cfg.root_title = "Git repository browser";
164 ctx->cfg.root_desc = "a fast webinterface for the git dscm";
162 ctx->cfg.script_name = CGIT_SCRIPT_NAME; 165 ctx->cfg.script_name = CGIT_SCRIPT_NAME;
163 ctx->page.mimetype = "text/html"; 166 ctx->page.mimetype = "text/html";