git://git.exim.org
/
exim-website.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8856cb
)
Added viewport meta tag to improve display on small devices eg iPhones
author
Mike Cardwell
<github@grepular.com>
Mon, 19 Jul 2010 19:07:00 +0000
(
03:07
+0800)
committer
Nigel Metheringham
<nm9762github@muesli.org.uk>
Mon, 19 Jul 2010 20:01:20 +0000
(
04:01
+0800)
templates/wrapper.xsl
patch
|
blob
|
history
diff --git
a/templates/wrapper.xsl
b/templates/wrapper.xsl
index bb1dee0851ec6ceaa45d1d902cc6215f2ca4f77c..4acf48ec4623445262d67b15fdcfbea3bec6c598 100644
(file)
--- a/
templates/wrapper.xsl
+++ b/
templates/wrapper.xsl
@@
-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>