| -rw-r--r-- | cgit.c | 3 | ||||
| -rw-r--r-- | cgit.h | 1 | ||||
| -rw-r--r-- | ui-shared.c | 5 |
3 files changed, 1 insertions, 8 deletions
@@ -19,8 +19,6 @@ void config_cb(const char *name, const char *value) { if (!strcmp(name, "root-title")) ctx.cfg.root_title = xstrdup(value); - else if (!strcmp(name, "root-desc")) - ctx.cfg.root_desc = xstrdup(value); else if (!strcmp(name, "css")) ctx.cfg.css = xstrdup(value); else if (!strcmp(name, "logo")) @@ -161,7 +159,6 @@ static void prepare_context(struct cgit_context *ctx) ctx->cfg.renamelimit = -1; ctx->cfg.robots = "index, nofollow"; ctx->cfg.root_title = "Git repository browser"; - ctx->cfg.root_desc = "a fast webinterface for the git dscm"; ctx->cfg.script_name = CGIT_SCRIPT_NAME; ctx->page.mimetype = "text/html"; ctx->page.charset = PAGE_ENCODING; @@ -132,7 +132,6 @@ struct cgit_config { char *repo_group; char *robots; char *root_title; - char *root_desc; char *script_name; char *virtual_root; int cache_dynamic_ttl; diff --git a/ui-shared.c b/ui-shared.c index 83758f7..8a804c2 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -510,10 +510,7 @@ void cgit_print_pageheader(struct cgit_context *ctx) html_txt(ctx->repo->desc); } else { html(">"); - if (ctx->cfg.root_desc) - html_txt(ctx->cfg.root_desc); - else if (ctx->cfg.index_info) - html_include(ctx->cfg.index_info); + html_txt("a fast webinterface for the git dscm"); } html("</td></tr></table>\n"); |