]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/homepage.tmpl
Merge branch 'master' into debian-master
[deb/packages.git] / templates / html / homepage.tmpl
index 7aa276e08dea9bc4646535777ca2bd1a247cdae5..2c91e2ad5ce84664d8e5ab58c6ebb118447c5880 100644 (file)
@@ -1,11 +1,10 @@
 [%- PROCESS 'html/head.tmpl' 
-       title_tag = "$organisation Packages Search"
-       page_title = "$organisation Packages Search"
-       keywords = "$organisation, Packages"
+       title_tag = g('%s Packages Search', organisation)
+       page_title = g('%s Packages Search', organisation)
+       keywords = g('Packages')
 -%]
 [%-
-    all_suites = [ 'etch', 'etch-m68k', 'etch-volatile', 'etch-backports',
-                  'lenny', 'lenny-volatile', 'lenny-backports', 'squeeze', 'sid' ]
+    all_suites = [ 'lenny', 'lenny-volatile', 'lenny-backports', 'squeeze', 'sid' ]
     version_numbers = { sarge => '3.1',
                        etch  => '4.0',
                        lenny => '5.0' }
@@ -31,7 +30,9 @@
 
 <p>[% g('There is also a list of <a href="%s/main/newpkg">packages recently added to %s</a>.', all_suites.-1, all_suites.-1) %]</p>
 
+[% IF old_releases %]
 <p>[% g('Old releases can be found at <a href="%s">%s</a>.', old_releases, old_releases) %]</p>
+[% END %]
 
 <h2>[% g('Search') %]</h2>
 
@@ -115,4 +116,4 @@ Distribution:
 </select>
 </form>
 
-[% PROCESS 'html/foot.tmpl' copyright.years = '1997 - 2009' %]
+[% PROCESS 'html/foot.tmpl' page_name=packages_homepage copyright.years = '1997 - 2010' %]