threads / patch / 4577

patchgitweb: add type="text/css" to stylesheet link

Subject: [PATCH] gitweb: add type="text/css" to stylesheet link

## tl;dr

One message between Jun 20, 2006 and Jun 20, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Jakub Narebski· Jun 20, 2006, 04:11 UTC · lore
---
 gitweb/gitweb.cgi |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
75b6977d185f946fcab8b86011f37869948c1dac
Show changes to gitweb/gitweb.cgi +2 −2
diff --git a/gitweb/gitweb.cgi b/gitweb/gitweb.cgi
index fa90c51..c582424 100755
--- a/gitweb/gitweb.cgi
+++ b/gitweb/gitweb.cgi
@@ -39,7 +39,7 @@ # html text to include at home page
 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>
-- 
1.3.0

← back to recent threads