aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--cgit.c3
-rw-r--r--cgit.h1
-rw-r--r--ui-shared.c5
3 files changed, 1 insertions, 8 deletions
diff --git a/cgit.c b/cgit.c
index bbde64b..38b0ba5 100644
--- a/cgit.c
+++ b/cgit.c
@@ -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;
diff --git a/cgit.h b/cgit.h
index 7761b6e..a3b6535 100644
--- a/cgit.h
+++ b/cgit.h
@@ -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");