Added viewport meta tag to improve display on small devices eg iPhones
authorMike Cardwell <github@grepular.com>
Mon, 19 Jul 2010 19:07:00 +0000 (03:07 +0800)
committerNigel Metheringham <nm9762github@muesli.org.uk>
Mon, 19 Jul 2010 20:01:20 +0000 (04:01 +0800)
templates/wrapper.xsl

index bb1dee0851ec6ceaa45d1d902cc6215f2ca4f77c..4acf48ec4623445262d67b15fdcfbea3bec6c598 100644 (file)
@@ -31,6 +31,9 @@
                <meta name="keywords"    content="{$html.head.keywords}"/>
                <meta name="robots"      content="{$html.head.robots}"/>
 
+               <!-- Mobile Safari (iPhone) - Reduce viewport to physical size of device -->
+                  <meta name="viewport" content="width=device-width"/>
+
                <title>
                   <xsl:value-of select="$html.head.title"/>
                </title>