]> git.deb.at Git - deb/packages.git/blobdiff - static/index.tmpl
Merge branch 'master' of ssh://spaillar-guest@git.debian.org/git/webwml/packages
[deb/packages.git] / static / index.tmpl
index c12bc7a5d50753033ed31f92af0d57ac3d87b33e..4d2b38a744fea147157d183625afe2e8d70e6ace 100644 (file)
@@ -7,6 +7,8 @@
     all_suites = [ 'sarge', 'sarge-volatile', 'sarge-backports',
                   'etch', 'etch-m68k', 'etch-volatile', 'etch-backports',
                   'lenny', 'sid' ]
+    version_numbers = { sarge => '3.1',
+                       etch   => '4.0' }
     current_release = 'etch'
     all_sections = [ 'main', 'contrib', 'non-free' ]
     all_architectures = [ 'alpha', 'arm', 'armel', 'amd64', 'hppa', 'i386',
@@ -15,7 +17,7 @@
 -%]
 
 <p>This site provides you with information about all the packages
-available in the <a href="[% homepage %]">[% organisation %]</a>
+available in the <a href="[% project_homepage %]">[% organisation %]</a>
 Package archive.
 
 <p><em>Please contact <a href="mailto:[% admin.mail %]">[% admin.name %]</a>
@@ -25,11 +27,12 @@ if you encounter any problems!</em></p>
 
 <ul style="font-size:large">
 [% FOREACH s IN all_suites %]
-<li><a href="[% s %]/">[% s %]</a></li>
+<li><a href="[% s %]/">[% s %]</a>
+[% IF version_numbers.$s %]([% version_numbers.$s %])[% END %]</li>
 [% END %]
 </ul>
 
-<p>There is also a list of <a href="[% all_suites.-1 %]/newpkg_main">packages
+<p>There is also a list of <a href="[% all_suites.-1 %]/main/newpkg">packages
 recently added to [% all_suites.-1 %]</a>.</p>
 
 <h2>Search</h2>