aboutsummaryrefslogtreecommitdiff
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
-rw-r--r--cgit.c2
-rw-r--r--cgit.h1
-rw-r--r--cgitrc.5.txt4
-rw-r--r--ui-shared.c2
4 files changed, 0 insertions, 9 deletions
diff --git a/cgit.c b/cgit.c
index 64d95f9..608cab6 100644
--- a/cgit.c
+++ b/cgit.c
@@ -31,8 +31,6 @@ void config_cb(const char *name, const char *value)
ctx.cfg.favicon = xstrdup(value);
else if (!strcmp(name, "footer"))
ctx.cfg.footer = xstrdup(value);
- else if (!strcmp(name, "header"))
- ctx.cfg.header = xstrdup(value);
else if (!strcmp(name, "logo"))
ctx.cfg.logo = xstrdup(value);
else if (!strcmp(name, "index-header"))
diff --git a/cgit.h b/cgit.h
index 4942b96..4fe94c6 100644
--- a/cgit.h
+++ b/cgit.h
@@ -135,7 +135,6 @@ struct cgit_config {
char *css;
char *favicon;
char *footer;
- char *header;
char *index_header;
char *index_info;
char *logo;
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index fd299ae..09f56a6 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -84,10 +84,6 @@ footer
verbatim at the bottom of all pages (i.e. it replaces the standard
"generated by..." message. Default value: none.
-header
- The content of the file specified with this option will be included
- verbatim at the top of all pages. Default value: none.
-
include
Name of a configfile to include before the rest of the current config-
file is parsed. Default value: none.
diff --git a/ui-shared.c b/ui-shared.c
index de77bbf..4f28512 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -500,8 +500,6 @@ void cgit_print_docstart(struct cgit_context *ctx)
}
html("</head>\n");
html("<body>\n");
- if (ctx->cfg.header)
- html_include(ctx->cfg.header);
}
void cgit_print_docend()