You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2015/01/17 10:29:44 UTC

svn commit: r1652567 - in /tomcat/site/trunk: docs/download-80.html xdocs/download-80.xml

Author: kkolinko
Date: Sat Jan 17 09:29:44 2015
New Revision: 1652567

URL: http://svn.apache.org/r1652567
Log:
Simplify download page by using ezt.py variable to hold a version number.
Starting with a navigation link to test whether it works as expected.

Documentation for ezt.py is at https://code.google.com/p/ezt/wiki/Syntax

Modified:
    tomcat/site/trunk/docs/download-80.html
    tomcat/site/trunk/xdocs/download-80.xml

Modified: tomcat/site/trunk/docs/download-80.html
URL: http://svn.apache.org/viewvc/tomcat/site/trunk/docs/download-80.html?rev=1652567&r1=1652566&r2=1652567&view=diff
==============================================================================
--- tomcat/site/trunk/docs/download-80.html (original)
+++ tomcat/site/trunk/docs/download-80.html Sat Jan 17 09:29:44 2015
@@ -202,9 +202,10 @@
 </div>
 <h3 id="Quick_Navigation">Quick Navigation</h3>
 <div class="text">
-        
-<a href="https://www.apache.org/dist/tomcat/tomcat-8/KEYS">KEYS</a> |
-        <a href="#8.0.17">8.0.17</a> |
+
+[define v]8.0.17[end]
+        <a href="https://www.apache.org/dist/tomcat/tomcat-8/KEYS">KEYS</a> |
+        <a href="#[v]">[v]</a> |
         <a href="[preferred]tomcat/tomcat-8/v8.0.17" rel="nofollow">Browse</a> |
         <a href="http://archive.apache.org/dist/tomcat/tomcat-8">Archives</a>
       

Modified: tomcat/site/trunk/xdocs/download-80.xml
URL: http://svn.apache.org/viewvc/tomcat/site/trunk/xdocs/download-80.xml?rev=1652567&r1=1652566&r2=1652567&view=diff
==============================================================================
--- tomcat/site/trunk/xdocs/download-80.xml (original)
+++ tomcat/site/trunk/xdocs/download-80.xml Sat Jan 17 09:29:44 2015
@@ -14,8 +14,13 @@
 
       <!-- Begin quick navigation section -->
       <section name="Quick Navigation">
+<!--
+ Define variable to hold the current version number.
+ Documentation for ezt.py: https://code.google.com/p/ezt/wiki/Syntax
+-->
+[define v]8.0.17[end]
         <a href="https://www.apache.org/dist/tomcat/tomcat-8/KEYS">KEYS</a> |
-        <a href="#8.0.17">8.0.17</a> |
+        <a href="#[v]">[v]</a> |
         <a href="[preferred]tomcat/tomcat-8/v8.0.17" rel="nofollow">Browse</a> |
         <a href="http://archive.apache.org/dist/tomcat/tomcat-8">Archives</a>
       </section>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org