]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: add type="text/css" to stylesheet link
authorJakub Narebski <redacted>
Tue, 20 Jun 2006 04:11:32 +0000 (04:11 +0000)
committerLady <redacted>
Fri, 3 Apr 2026 05:12:42 +0000 (01:12 -0400)
Signed-off-by: Junio C Hamano <redacted>
gitweb.cgi

index 1852a553f0f83e2d6f4e0441c850559b5fb7b39cd51cef9f08f64ae8910e4357..21e00aaf85b4f681c8591f4e453244e087cc7e3a268f05fed997dd9d0ac13082 100755 (executable)
@@ -39,7 +39,7 @@ my $home_link =               $my_uri;
 my $home_text =                "indextext.html";
 
 # URI of default stylesheet
-my $stylesheet =       "gitweb.css";
+my $stylesheet =       "gitweb.css";
 
 # source of projects list
 #my $projects_list =   $projectroot;
@@ -272,7 +272,7 @@ sub git_header_html {
 <head>
 <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
 <meta name="robots" content="index, nofollow"/>
-<link rel="stylesheet" href="$stylesheet"/>
+<link rel="stylesheet" type="text/css" href="$stylesheet"/>
 <title>$title</title>
 $rss_link
 </head>
This page took 0.205965 seconds and 4 git commands to generate.