]> Lady’s Gitweb - Gitweb/commit
gitweb: Cleanup Git logo and Git logo target generation
authorJakub Narebski <redacted>
Fri, 6 Oct 2006 10:31:05 +0000 (12:31 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:10 +0000 (00:07 -0400)
commit8da85102a758d7f65fa11345516f9c60cba29c3ada898a72ba340c8c94b345f2
treed735508dbff559b31e9864aa4d1f3d72934d81b915fadcda52ab1e6d17e226ab
parent24b953b17157d1334f2cfc254ebfb11ea55b76624938ec7cab50ed7b7484d9d9
gitweb: Cleanup Git logo and Git logo target generation

Rename $githelp_url and $githelp_label to $logo_url and $logo_label to
be more obvious what they refer to; while at it add commented out
previous contents (git documentation at kernel.org). Add comment about
logo size.

Use $cgi->a(...) to generate Git logo link; it automatically escapes
attribute values when it is needed.  Escape href attribute using
esc_url instead of (incorrect!) esc_html.

Move styling of git logo <img> element from "style" attribute to CSS
via setting class to "logo".  Perhaps we should set it by id rather
than by class.

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.css
gitweb.perl
This page took 0.240535 seconds and 4 git commands to generate.