From: Frank Lichtenheld Date: Thu, 12 Apr 2007 21:36:49 +0000 (+0200) Subject: index.tmpl: Fix two bugs X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=a11abc0a5f37aae82381d49bfe8ab8b00f48f238;p=deb%2Fpackages.git index.tmpl: Fix two bugs One missing semicolon added. One variable named corrected (navigation_pre -> nav_arr) --- diff --git a/templates/html/index.tmpl b/templates/html/index.tmpl index dc44e99..9daa9a5 100644 --- a/templates/html/index.tmpl +++ b/templates/html/index.tmpl @@ -8,7 +8,7 @@ nav_last = { prefix=>"$category.id:", name=>category.name }; ELSE; nav_last = { name=>'All Packages' }; - END + END; nav_arr.push( { name=>'Source', url=>make_url('/','','suite',suite,'source',source) } ) IF source; @@ -18,7 +18,7 @@ title_tag = title_common page_title = title_common keywords = "$suite, $category.name" - navigation = navigation_pre + navigation = nav_arr %] [% FOREACH packages %]