Browse code

some meta clean up. making website more html5 friendly

Nima Fatemi authored on28/10/2014 02:03:49 • Sebastian Hahn committed on28/10/2014 09:25:17
Showing1 changed files
... ...
@@ -6,34 +6,39 @@
6 6
 #use "versions.wmi"
7 7
 #use "navigation.wmi"
8 8
 
9
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
10
-<html>
11
-<head>
12
-  <title>$(TITLE)</title>
13
-  <link rel="shortcut icon" type="image/x-icon" href="$(IMGROOT)/favicon.ico">
14
-  <ifneq "$(REDIRECT)" "" "<meta http-equiv="refresh" content="0;url=$(DOCROOT)/$(REDIRECT)">">
15
-  <ifneq "$(REDIRECT_GLOBAL)" "" "<meta http-equiv="refresh" content="0;url=$(REDIRECT_GLOBAL)">">
9
+<!DOCTYPE html>
10
+ <html>
11
+ <head>
16 12
 
17
-  # begin WML to generate css/js paths 
18
-  <ifneq "$(STYLESHEET)" "" "<link rel="stylesheet" type="text/css" href="$(DOCROOT)/$(STYLESHEET)">">
19
-  <ifeq "$(STYLESHEET)" "" "<link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/master.css">">
20
-
21
-  #<link href="css/master.css" rel="stylesheet" type="text/css">
22
-  <!--[if lte IE 8]>
23
-  <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie8-and-down.css">
24
-  <![endif]-->
25
-  <!--[if lte IE 7]>
26
-  <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie7-and-down.css">
27
-  <![endif]-->
28
-  <!--[if IE 6]>
29
-  <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie6.css">
30
-  <![endif]-->
31
-#  <script language="javascript" type="text/javascript" src="$(DOCROOT)/global.js"></script>
32
-  # end WML to generate css/js paths 
33
-
34
-  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
35
-  <meta name="author" content="The Tor Project, Inc.">
36
-  <meta name="keywords" content="anonymity online, tor, tor project, censorship circumvention, traffic analysis, anonymous communications research">
13
+   <meta charset="utf-8">
14
+   <meta http-equiv="X-UA-Compatible" content="IE=edge">
15
+   <meta name="viewport" content="width=device-width, initial-scale=1">
16
+   <meta name="author" content="The Tor Project, Inc.">
17
+   <meta name="keywords" content="anonymity online, tor, tor project, censorship circumvention, traffic analysis, anonymous communications research">
18
+ 
19
+   <title>$(TITLE)</title>
20
+   
21
+   <link rel="icon" href="$(IMGROOT)/favicon.ico">
22
+   <ifneq "$(REDIRECT)" "" "<meta http-equiv="refresh" content="0;url=$(DOCROOT)/$(REDIRECT)">">
23
+   <ifneq "$(REDIRECT_GLOBAL)" "" "<meta http-equiv="refresh" content="0;url=$(REDIRECT_GLOBAL)">">
24
+ 
25
+   # begin WML to generate css/js paths 
26
+   <ifneq "$(STYLESHEET)" "" "<link href="$(DOCROOT)/$(STYLESHEET)" rel="stylesheet">">
27
+   <ifeq "$(STYLESHEET)" "" "<link href="$(DOCROOT)/css/master.css" rel="stylesheet">">
28
+ 
29
+   #<link href="css/master.css" rel="stylesheet">
30
+   <!--[if lte IE 8]>
31
+   <link href="$(DOCROOT)/css/ie8-and-down.css" rel="stylesheet">
32
+   <![endif]-->
33
+   <!--[if lte IE 7]>
34
+   <link href="$(DOCROOT)/css/ie7-and-down.css" rel="stylesheet">
35
+   <![endif]-->
36
+   <!--[if IE 6]>
37
+   <link href="$(DOCROOT)/css/ie6.css" rel="stylesheet">
38
+   <![endif]-->
39
+ #  <script language="javascript" type="text/javascript" src="$(DOCROOT)/global.js"></script>
40
+   # end WML to generate css/js paths 
41
+ 
37 42
 </head>
38 43
 <body>
39 44
 <div id="wrap">