summaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2006-09-04 18:32:13 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-09-04 22:33:04 (GMT)
commit0b5deba13268a196a8b302255453a8c2194c876d (patch)
treea0fabc4249b352a555c4291e768cfac832648de0 /gitweb
parent5d44cd1c8b27fb677fedc886303d38b19fbb07f7 (diff)
downloadgit-0b5deba13268a196a8b302255453a8c2194c876d.zip
git-0b5deba13268a196a8b302255453a8c2194c876d.tar.gz
git-0b5deba13268a196a8b302255453a8c2194c876d.tar.bz2
gitweb: Add GIT favicon, assuming image/png type
Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'gitweb')
-rw-r--r--gitweb/git-favicon.pngbin0 -> 164 bytes
-rwxr-xr-xgitweb/gitweb.perl5
2 files changed, 5 insertions, 0 deletions
diff --git a/gitweb/git-favicon.png b/gitweb/git-favicon.png
new file mode 100644
index 0000000..de637c0
--- /dev/null
+++ b/gitweb/git-favicon.png
Binary files differ
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 2b40aa1..313e842 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -48,6 +48,8 @@ our $home_text = "++GITWEB_HOMETEXT++";
our $stylesheet = "++GITWEB_CSS++";
# URI of GIT logo
our $logo = "++GITWEB_LOGO++";
+# URI of GIT favicon, assumed to be image/png type
+our $favicon = "++GITWEB_FAVICON++";
# source of projects list
our $projects_list = "++GITWEB_LIST++";
@@ -1222,6 +1224,9 @@ EOF
'href="%s" type="application/rss+xml"/>'."\n",
esc_param($project), href(action=>"rss"));
}
+ if (defined $favicon) {
+ print qq(<link rel="shortcut icon" href="$favicon" type="image/png"/>\n);
+ }
print "</head>\n" .
"<body>\n" .