conditional include of html5 shim
[zf2.biz/galerie.git] / module / Application / view / layout / layout.phtml
index 622c108..31e99f1 100644 (file)
@@ -15,7 +15,7 @@ $this->headLink(array(
 
 // HTML5 shim, for IE6-8 support of HTML elements
 $this->headScript()->appendFile($basePath . '/js/html5.js', 'text/javascript', 
-    array('conditional' => 'lt IE9',));
+    array('conditional' => 'lt IE 9',));
 
 echo $this->doctype();
 ?>
@@ -25,7 +25,7 @@ echo $this->doctype();
     <meta charset="utf-8">
     <?php echo $this->headTitle('ZF2 Skeleton Application') ?>
 
-    <?php echo $this->headMeta() ?>
+    <?php echo $this->headMeta()->appendName('viewport', 'width=device-width, initial-scale=1.0') ?>
 
     <!-- Le styles -->
     <?php echo $this->headLink() ?>