about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJune McEnroe2021-09-22 15:40:24 +0000
committerJune McEnroe2022-02-13 12:18:51 -0500
commitf92ba7ea854f826816cdbf94bc2afa4104669961 (patch)
tree829cc3def950d168672e9eb604c6297b6eb2acce
parentShow about path in page title (diff)
downloadcgit-f92ba7ea854f826816cdbf94bc2afa4104669961.tar.gz
cgit-f92ba7ea854f826816cdbf94bc2afa4104669961.zip
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 d13c5bd..09fdd0e 100644 --- a/Makefile +++ b/Makefile
@@ -88,7 +88,6 @@ install: all
88 $(INSTALL) -m 0755 -d $(DESTDIR)$(CGIT_DATA_PATH) 88 $(INSTALL) -m 0755 -d $(DESTDIR)$(CGIT_DATA_PATH)
89 $(INSTALL) -m 0644 cgit.css $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css 89 $(INSTALL) -m 0644 cgit.css $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css
90 $(INSTALL) -m 0644 cgit.png $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png 90 $(INSTALL) -m 0644 cgit.png $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png
91 $(INSTALL) -m 0644 favicon.ico $(DESTDIR)$(CGIT_DATA_PATH)/favicon.ico
92 $(INSTALL) -m 0644 robots.txt $(DESTDIR)$(CGIT_DATA_PATH)/robots.txt 91 $(INSTALL) -m 0644 robots.txt $(DESTDIR)$(CGIT_DATA_PATH)/robots.txt
93 $(INSTALL) -m 0755 -d $(DESTDIR)$(filterdir) 92 $(INSTALL) -m 0755 -d $(DESTDIR)$(filterdir)
94 $(COPYTREE) filters/* $(DESTDIR)$(filterdir) 93 $(COPYTREE) filters/* $(DESTDIR)$(filterdir)
@@ -111,7 +110,6 @@ uninstall:
111 rm -f $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME) 110 rm -f $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME)
112 rm -f $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css 111 rm -f $(DESTDIR)$(CGIT_DATA_PATH)/cgit.css
113 rm -f $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png 112 rm -f $(DESTDIR)$(CGIT_DATA_PATH)/cgit.png
114 rm -f $(DESTDIR)$(CGIT_DATA_PATH)/favicon.ico
115 113
116uninstall-doc: uninstall-man uninstall-html uninstall-pdf 114uninstall-doc: uninstall-man uninstall-html uninstall-pdf
117 115
diff --git a/cgit.c b/cgit.c index 40825cb..8a76c84 100644 --- a/cgit.c +++ b/cgit.c
@@ -378,7 +378,7 @@ static void prepare_context(void)
378 ctx.cfg.commit_sort = 0; 378 ctx.cfg.commit_sort = 0;
379 ctx.cfg.css = "/cgit.css"; 379 ctx.cfg.css = "/cgit.css";
380 ctx.cfg.logo = "/cgit.png"; 380 ctx.cfg.logo = "/cgit.png";
381 ctx.cfg.favicon = "/favicon.ico"; 381 ctx.cfg.favicon = NULL;
382 ctx.cfg.local_time = 0; 382 ctx.cfg.local_time = 0;
383 ctx.cfg.enable_http_clone = 1; 383 ctx.cfg.enable_http_clone = 1;
384 ctx.cfg.enable_index_owner = 1; 384 ctx.cfg.enable_index_owner = 1;
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 33a6a8c..45db6c7 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt
@@ -219,7 +219,7 @@ enable-tree-linenumbers::
219favicon:: 219favicon::
220 Url used as link to a shortcut icon for cgit. It is suggested to use 220 Url used as link to a shortcut icon for cgit. It is suggested to use
221 the value "/favicon.ico" since certain browsers will ignore other 221 the value "/favicon.ico" since certain browsers will ignore other
222 values. Default value: "/favicon.ico". 222 values. Default value: none.
223 223
224footer:: 224footer::
225 The content of the file specified with this option will be included 225 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