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--cgitrc2
-rw-r--r--ui-shared.c5
4 files changed, 0 insertions, 10 deletions
diff --git a/cgit.c b/cgit.c
index 8795085..8f154c9 100644
--- a/cgit.c
+++ b/cgit.c
@@ -25,8 +25,6 @@ void config_cb(const char *name, const char *value)
ctx.cfg.root_readme = xstrdup(value);
else if (!strcmp(name, "css"))
ctx.cfg.css = xstrdup(value);
- else if (!strcmp(name, "favicon"))
- ctx.cfg.favicon = xstrdup(value);
else if (!strcmp(name, "footer"))
ctx.cfg.footer = xstrdup(value);
else if (!strcmp(name, "logo"))
diff --git a/cgit.h b/cgit.h
index 7881aca..d18d9ca 100644
--- a/cgit.h
+++ b/cgit.h
@@ -125,7 +125,6 @@ struct cgit_config {
char *cache_root;
char *clone_prefix;
char *css;
- char *favicon;
char *footer;
char *index_header;
char *index_info;
diff --git a/cgitrc b/cgitrc
index 9e8a0f2..f1d8997 100644
--- a/cgitrc
+++ b/cgitrc
@@ -107,8 +107,6 @@
## Link to css file
#css=/cgit/cgit.css
-## Link to favicon
-#favicon=/favicon.ico
## Link to logo file
#logo=/cgit/git-logo.png
diff --git a/ui-shared.c b/ui-shared.c
index 6f83d2a..8a00099 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -437,11 +437,6 @@ void cgit_print_docstart(struct cgit_context *ctx)
html("<link rel='stylesheet' type='text/css' href='");
html_attr(ctx->cfg.css);
html("'/>\n");
- if (ctx->cfg.favicon) {
- html("<link rel='shortcut icon' href='");
- html_attr(ctx->cfg.favicon);
- html("'/>\n");
- }
html("</head>\n");
html("<body>\n");
}