summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-10-11 02:46:27 +0200
committerJonas Smedegaard <dr@jones.dk>2013-10-12 14:30:33 +0200
commit782d2bef50ff771f201b88fe47a6eb001b5b9268 (patch)
tree579bb74d2d5d8f9333c64989bd99322b9557bcfa
parent67b676bd50fb475c3b6c314942be14b4677e426b (diff)
Add goodies from git://github.com/paulirish/html5-boilerplate
More info at http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ .
-rw-r--r--page.tmpl6
1 files changed, 5 insertions, 1 deletions
diff --git a/page.tmpl b/page.tmpl
index c886b22..57b91b7 100644
--- a/page.tmpl
+++ b/page.tmpl
@@ -1,5 +1,8 @@
<TMPL_IF HTML5><!DOCTYPE html>
-<html>
+<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="<TMPL_IF LANG_CODE><TMPL_VAR LANG_CODE><TMPL_ELSE>en</TMPL_IF>"> <![endif]-->
+<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="<TMPL_IF LANG_CODE><TMPL_VAR LANG_CODE><TMPL_ELSE>en</TMPL_IF>"> <![endif]-->
+<!--[if IE 8]> <html class="no-js lt-ie9" lang="<TMPL_IF LANG_CODE><TMPL_VAR LANG_CODE><TMPL_ELSE>en</TMPL_IF>"> <![endif]-->
+<!--[if gt IE 8]><!--> <html class="no-js" lang="<TMPL_IF LANG_CODE><TMPL_VAR LANG_CODE><TMPL_ELSE>en</TMPL_IF>"> <!--<![endif]-->
<TMPL_ELSE><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
@@ -12,6 +15,7 @@
</TMPL_IF>
<TMPL_IF HTML5><meta charset="utf-8" /><TMPL_ELSE><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></TMPL_IF>
<title><TMPL_VAR TITLE></title>
+<meta name="viewport" content="width=device-width,initial-scale=1">
<TMPL_IF FAVICON>
<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-icon" />
</TMPL_IF>