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-Tag: v1.4.3-rc2~14 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=51a7c66a73ce74fad3b7b05109ed6ce013202fa5;p=git.git 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/gitweb.perl b/gitweb/gitweb.perl index 8bf7bf4bb..332006917 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -51,6 +51,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++"; @@ -1373,7 +1376,9 @@ EOF print "\n" . "\n" . "
\n" . - "" . + "" . "\"git\"" . "\n"; print $cgi->a({-href => esc_url($home_link)}, $home_link_str) . " / ";