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>
This commit is contained in:
committed by
Junio C Hamano
parent
5d44cd1c8b
commit
0b5deba132
@ -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" .
|
||||
|
||||
Reference in New Issue
Block a user