commit a3d70401d0754206518f56232e9b44df8a2d9f9f Author: Nima Fatemi mrphs@riseup.net Date: Tue Oct 28 01:03:49 2014 +0000
some meta clean up. making website more html5 friendly --- include/head.wmi | 59 +++++++++++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 27 deletions(-)
diff --git a/include/head.wmi b/include/head.wmi index 1d9b327..78e422a 100644 --- a/include/head.wmi +++ b/include/head.wmi @@ -6,34 +6,39 @@ #use "versions.wmi" #use "navigation.wmi"
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> -<head> - <title>$(TITLE)</title> - <link rel="shortcut icon" type="image/x-icon" href="$(IMGROOT)/favicon.ico"> - <ifneq "$(REDIRECT)" "" "<meta http-equiv="refresh" content="0;url=$(DOCROOT)/$(REDIRECT)">"> - <ifneq "$(REDIRECT_GLOBAL)" "" "<meta http-equiv="refresh" content="0;url=$(REDIRECT_GLOBAL)">"> +<!DOCTYPE html> + <html> + <head>
- # begin WML to generate css/js paths - <ifneq "$(STYLESHEET)" "" "<link rel="stylesheet" type="text/css" href="$(DOCROOT)/$(STYLESHEET)">"> - <ifeq "$(STYLESHEET)" "" "<link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/master.css">"> - - #<link href="css/master.css" rel="stylesheet" type="text/css"> - <!--[if lte IE 8]> - <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie8-and-down.css"> - <![endif]--> - <!--[if lte IE 7]> - <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie7-and-down.css"> - <![endif]--> - <!--[if IE 6]> - <link rel="stylesheet" type="text/css" href="$(DOCROOT)/css/ie6.css"> - <![endif]--> -# <script language="javascript" type="text/javascript" src="$(DOCROOT)/global.js"></script> - # end WML to generate css/js paths - - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> - <meta name="author" content="The Tor Project, Inc."> - <meta name="keywords" content="anonymity online, tor, tor project, censorship circumvention, traffic analysis, anonymous communications research"> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="author" content="The Tor Project, Inc."> + <meta name="keywords" content="anonymity online, tor, tor project, censorship circumvention, traffic analysis, anonymous communications research"> + + <title>$(TITLE)</title> + + <link rel="icon" href="$(IMGROOT)/favicon.ico"> + <ifneq "$(REDIRECT)" "" "<meta http-equiv="refresh" content="0;url=$(DOCROOT)/$(REDIRECT)">"> + <ifneq "$(REDIRECT_GLOBAL)" "" "<meta http-equiv="refresh" content="0;url=$(REDIRECT_GLOBAL)">"> + + # begin WML to generate css/js paths + <ifneq "$(STYLESHEET)" "" "<link href="$(DOCROOT)/$(STYLESHEET)" rel="stylesheet">"> + <ifeq "$(STYLESHEET)" "" "<link href="$(DOCROOT)/css/master.css" rel="stylesheet">"> + + #<link href="css/master.css" rel="stylesheet"> + <!--[if lte IE 8]> + <link href="$(DOCROOT)/css/ie8-and-down.css" rel="stylesheet"> + <![endif]--> + <!--[if lte IE 7]> + <link href="$(DOCROOT)/css/ie7-and-down.css" rel="stylesheet"> + <![endif]--> + <!--[if IE 6]> + <link href="$(DOCROOT)/css/ie6.css" rel="stylesheet"> + <![endif]--> + # <script language="javascript" type="text/javascript" src="$(DOCROOT)/global.js"></script> + # end WML to generate css/js paths + </head> <body> <div id="wrap">
tor-commits@lists.torproject.org