summary refs log tree commit diff
path: root/www
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-09-22 15:40:24 +0000
committerJune McEnroe <june@causal.agency>2021-09-22 15:40:24 +0000
commitb66b864a89e0a956e9d5d8909ccb3084df3c273e (patch)
tree5b9648e95d0c353efc1e9f3085b87064f5790035 /www
parentUse Z_FILTERED strategy (diff)
downloadsrc-b66b864a89e0a956e9d5d8909ccb3084df3c273e.tar.gz
src-b66b864a89e0a956e9d5d8909ccb3084df3c273e.zip
Remove default favicon
I hate these things and also this one sucks.
Diffstat (limited to '')
-rw-r--r--www/git.causal.agency/cgit/Makefile2
-rw-r--r--www/git.causal.agency/cgit/cgit.c2
-rw-r--r--www/git.causal.agency/cgit/cgitrc.5.txt2
-rw-r--r--www/git.causal.agency/cgit/favicon.icobin1078 -> 0 bytes
4 files changed, 2 insertions, 4 deletions
diff --git a/www/git.causal.agency/cgit/Makefile b/www/git.causal.agency/cgit/Makefile
index bfaa4ee6..e5fb0675 100644
--- a/www/git.causal.agency/cgit/Makefile
+++ b/www/git.causal.agency/cgit/Makefile
@@ -88,7 +88,6 @@ install: all
 	$(INSTALL) -m 0755 -d $(DESTDIR)$(CGIT_DATA_PATH)
 	$(INSTALL) -m 0644 cgit.css $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css
 	$(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)
@@ -111,7 +110,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/www/git.causal.agency/cgit/cgit.c b/www/git.causal.agency/cgit/cgit.c
index a86970de..642cac77 100644
--- a/www/git.causal.agency/cgit/cgit.c
+++ b/www/git.causal.agency/cgit/cgit.c
@@ -378,7 +378,7 @@ static void prepare_context(void)
 	ctx.cfg.commit_sort = 0;
 	ctx.cfg.css = "/cgit.css";
 	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/www/git.causal.agency/cgit/cgitrc.5.txt b/www/git.causal.agency/cgit/cgitrc.5.txt
index 8d663952..7dd644a9 100644
--- a/www/git.causal.agency/cgit/cgitrc.5.txt
+++ b/www/git.causal.agency/cgit/cgitrc.5.txt
@@ -219,7 +219,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/www/git.causal.agency/cgit/favicon.ico b/www/git.causal.agency/cgit/favicon.ico
deleted file mode 100644
index 56ff5938..00000000
--- a/www/git.causal.agency/cgit/favicon.ico
+++ /dev/null
Binary files differ