move shim in head part
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
<!--[if IE 8 ]><html class="no-js oldie ie8" lang="{lang attr="code"}"> <![endif]-->
|
<!--[if IE 8 ]><html class="no-js oldie ie8" lang="{lang attr="code"}"> <![endif]-->
|
||||||
<!--[if (gte IE 9)|!(IE)]><!--><html lang="{lang attr="code"}" class="no-js"> <!--<![endif]-->
|
<!--[if (gte IE 9)|!(IE)]><!--><html lang="{lang attr="code"}" class="no-js"> <!--<![endif]-->
|
||||||
<head>
|
<head>
|
||||||
|
|
||||||
{* Test if javascript is enabled *}
|
{* Test if javascript is enabled *}
|
||||||
<script>(function(H) { H.className=H.className.replace(/\bno-js\b/,'js') } )(document.documentElement);</script>
|
<script>(function(H) { H.className=H.className.replace(/\bno-js\b/,'js') } )(document.documentElement);</script>
|
||||||
|
|
||||||
@@ -21,6 +22,11 @@
|
|||||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||||
{block name="meta"}{/block}
|
{block name="meta"}{/block}
|
||||||
|
|
||||||
|
{* HTML5 shim, for IE6-8 support of HTML5 elements *}
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
{* Stylesheets *}
|
{* Stylesheets *}
|
||||||
{stylesheets file='assets/less/styles.less' filters='less,cssembed'}
|
{stylesheets file='assets/less/styles.less' filters='less,cssembed'}
|
||||||
<link rel="stylesheet" href="{$asset_url}">
|
<link rel="stylesheet" href="{$asset_url}">
|
||||||
@@ -395,7 +401,6 @@
|
|||||||
|
|
||||||
{* HTML5 shim, for IE6-8 support of HTML5 elements *}
|
{* HTML5 shim, for IE6-8 support of HTML5 elements *}
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
{javascripts file='assets/js/libs/respond.min.js'}
|
{javascripts file='assets/js/libs/respond.min.js'}
|
||||||
<script src="{$asset_url}"></script>
|
<script src="{$asset_url}"></script>
|
||||||
{/javascripts}
|
{/javascripts}
|
||||||
|
|||||||
Reference in New Issue
Block a user