Better error message on die
[exim-website.git] / templates / wrapper.xsl
index 313280c60fcab713264910f7f1b881a941817e56..f0c36755d7b9ac5af4efccb44c9c4af674b39f0a 100644 (file)
@@ -31,6 +31,9 @@
                <meta name="keywords"    content="{$html.head.keywords}"/>
                <meta name="robots"      content="{$html.head.robots}"/>
 
                <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>
                <title>
                   <xsl:value-of select="$html.head.title"/>
                </title>
@@ -51,7 +54,7 @@
 
                       <!-- Navigation -->
 
 
                       <!-- Navigation -->
 
-                         <ul class="navigation">
+                         <ul id="nav_flow" class="nav">
                             <li> <a href="{$docroot}/mirrors.html">Download</a> </li>
                             <li> <a href="{$docroot}/docs.html">Documentation</a> </li>
                             <li> <a href="{$docroot}/maillist.html">Mailing Lists</a> </li>
                             <li> <a href="{$docroot}/mirrors.html">Download</a> </li>
                             <li> <a href="{$docroot}/docs.html">Documentation</a> </li>
                             <li> <a href="{$docroot}/maillist.html">Mailing Lists</a> </li>
@@ -77,7 +80,9 @@
 
                       <!-- MAIN CONTENT. This is the div that wraps around the other stylesheets -->
                          <div id="inner">
 
                       <!-- MAIN CONTENT. This is the div that wraps around the other stylesheets -->
                          <div id="inner">
-                            <xsl:call-template name="content"/>
+                            <div id="content">
+                              <xsl:call-template name="content"/>
+                           </div>
                          </div>
 
                       <!-- Branding -->
                          </div>
 
                       <!-- Branding -->
                <xsl:when test="@section_id">
                   <xsl:choose>
                      <xsl:when test="@longref">
                <xsl:when test="@section_id">
                   <xsl:choose>
                      <xsl:when test="@longref">
-                        <xsl:value-of select="concat(@chapter_title,'[',@section_title,']')"/>
+                        <xsl:value-of select="@chapter_title"/>
+                        <small>
+                           <xsl:value-of select="concat(' [',@section_title,']')"/>
+                        </small>
                      </xsl:when>
                      <xsl:otherwise>
                         <xsl:value-of select="concat(@chapter_id,'.',@section_id)"/>
                      </xsl:when>
                      <xsl:otherwise>
                         <xsl:value-of select="concat(@chapter_id,'.',@section_id)"/>