about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-09-22 15:40:24 +0000
committerRory& <root@rory.gay>2025-03-12 06:36:20 +0100
commit94a553d73c6650a4c6a66d075edd59e654b76649 (patch)
tree5ff23cbde476b7ffe2a51630be3dffbf9a69c3c7
parentShow about path in page title (diff)
downloadcgit-magenta-94a553d73c6650a4c6a66d075edd59e654b76649.tar.xz
Remove default favicon
I do not like these things.
-rw-r--r--Makefile2
-rw-r--r--cgit.c2
-rw-r--r--cgitrc.5.txt2
-rw-r--r--favicon.icobin1078 -> 0 bytes
4 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile

index 7f8a5cb..826c7fb 100644 --- a/Makefile +++ b/Makefile
@@ -89,7 +89,6 @@ install: all $(INSTALL) -m 0644 cgit.css $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css $(INSTALL) -m 0644 cgit.js $(DESTDIR)$(CGIT_DATA_PATH)/cgit.js $(INSTALL) -m 0644 cgit.png $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png - $(INSTALL) -m 0644 favicon.ico $(DESTDIR)$(CGIT_DATA_PATH)/favicon.ico $(INSTALL) -m 0644 robots.txt $(DESTDIR)$(CGIT_DATA_PATH)/robots.txt $(INSTALL) -m 0755 -d $(DESTDIR)$(filterdir) $(COPYTREE) filters/* $(DESTDIR)$(filterdir) @@ -112,7 +111,6 @@ uninstall: rm -f $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME) rm -f $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css rm -f $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png - rm -f $(DESTDIR)$(CGIT_DATA_PATH)/favicon.ico uninstall-doc: uninstall-man uninstall-html uninstall-pdf diff --git a/cgit.c b/cgit.c
index 3a65885..5a5e3c8 100644 --- a/cgit.c +++ b/cgit.c
@@ -383,7 +383,7 @@ static void prepare_context(void) ctx.cfg.branch_sort = 0; ctx.cfg.commit_sort = 0; ctx.cfg.logo = "/cgit.png"; - ctx.cfg.favicon = "/favicon.ico"; + ctx.cfg.favicon = NULL; ctx.cfg.local_time = 0; ctx.cfg.enable_http_clone = 1; ctx.cfg.enable_index_owner = 1; diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 6f3e952..24ed09f 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt
@@ -220,7 +220,7 @@ enable-tree-linenumbers:: favicon:: Url used as link to a shortcut icon for cgit. It is suggested to use the value "/favicon.ico" since certain browsers will ignore other - values. Default value: "/favicon.ico". + values. Default value: none. footer:: The content of the file specified with this option will be included diff --git a/favicon.ico b/favicon.ico deleted file mode 100644
index 56ff593..0000000 --- a/favicon.ico +++ /dev/null
Binary files differ