Updates of version info
[exim-website.git] / templates / web / index.xsl
index 80e1771092602cc78405d1658a11b8856a89c174..fa50b9d66a2e5d2c0efa0f6a6f674b754836392f 100644 (file)
@@ -17,7 +17,7 @@
                        <link rel="stylesheet" type="text/css" href="{$docroot}/index.css"/>
 
                <!-- Canonical -->
-                        <link rel="canonical" href="http://www.exim.org/credits.html"/>
+                        <link rel="canonical" href="http://www.exim.org/"/>
 
        </xsl:variable>
  
@@ -29,7 +29,7 @@
                 <!-- Summary -->
                        <p id="summary">
                                <a href="http://www.exim.org/">
-                                       <img src="/i/exim-blue-ld-87x65.png" alt="Exim Logo" width="87" height="65"/>
+                                       <img src="i/exim-blue-ld-87x65.png" alt="Exim Logo" width="87" height="65"/>
                                </a>
                                <xsl:text>Exim is a message transfer agent (MTA) developed at the </xsl:text>
                                <a href="http://www.cam.ac.uk/" title="University of Cambridge Home page">University of Cambridge</a>
                                <xsl:text>, although the configuration of Exim is quite different.</xsl:text>
                        </p>
 
-               <!-- Version Information -->
-                       <p id="version_info">
-                               <xsl:text>All versions of Exim previous to version 4.x are now obsolete and everyone is very strongly recommended to upgrade to a current release. The last 3.x release was 3.36. It is obsolete and should not be used. There may be beta versions available from the ftp sites in the Testing directory. Many people are using these without problems, but they are not recommended unless you are willing to work with beta software.</xsl:text>
-                       </p>
+      <!-- Version Information -->
+         <p id="obsolete_version_info">
+            <xsl:text>All versions of Exim previous to version 4.x are now obsolete and everyone is very strongly recommended to upgrade to a current release. The last 3.x release was 3.36. It is obsolete and should not be used.</xsl:text>
+         </p>
+
+         <p id="version_info">
+            <xsl:text>The current version is </xsl:text>
+            <xsl:value-of select="/content/current_version"/>
+         </p>
+
+         <p id="beta_version_info">
+            <xsl:text>There may be beta versions available from the ftp sites in the Testing directory. Many people are using these without problems, but they are not recommended unless you are willing to work with beta software.</xsl:text>
+         </p>
 
                 <!-- Book Information -->
                    
                        <p id="book_info">
                                <a href="http://www.uit.co.uk/exim-book">
-                                       <img src="/i/exim-book.png" width="74" height="100"/>
+                                       <img src="i/exim-book.png" width="74" height="100"/>
                                </a>
                                <xsl:text>You may wish to purchase </xsl:text>
                                <a href="http://www.uit.co.uk/exim-book">The Exim SMTP Mail Server</a>