From: Junio C Hamano Date: Sat, 23 Sep 2006 19:36:01 +0000 (-0700) Subject: gitweb: Make the Git logo link target to point to the homepage X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/a7ab0b416cc5f68d6e9135680eff4fc34327d39baf74967dc50b41ec2b5eb097 gitweb: Make the Git logo link target to point to the homepage It provides more useful information for causual Git users than the Git docs (especially about where to get Git and such). People can override with GITWEB_CONFIG if they want to. Signed-off-by: Petr Baudis Signed-off-by: Junio C Hamano Acked-by: Petr Baudis --- diff --git a/gitweb.perl b/gitweb.perl index 7224983..e3c9299 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -59,6 +59,9 @@ our $logo = "++GITWEB_LOGO++"; # URI of GIT favicon, assumed to be image/png type our $favicon = "++GITWEB_FAVICON++"; +our $githelp_url = "http://git.or.cz/"; +our $githelp_label = "git homepage"; + # source of projects list our $projects_list = "++GITWEB_LIST++"; @@ -1435,7 +1438,9 @@ EOF } print "
\n" . - "" . + "" . "\"git\"" . "\n"; print $cgi->a({-href => esc_url($home_link)}, $home_link_str) . " / ";