]> git.deb.at Git - deb/packages.git/blobdiff - templates/rfc822/search.tmpl
templates: define packages_homepage and packages_homepage_abs
[deb/packages.git] / templates / rfc822 / search.tmpl
index 955bf45426760e8f61b49163825d80e1bb5a3916..a0b4bad9797b9db957f72e9abcddac17848b08d0 100644 (file)
@@ -3,7 +3,7 @@
   [%- FOREACH s IN suites -%]
     [%- FOREACH s.versions %]
 Package: [% pkg %]
-Url: [% packages_homepage _ make_url(pkg,'','suite',s.suite,'arch','','section','','format','') %]
+Url: [% packages_homepage_abs _ make_url(pkg,'','suite',s.suite,'arch','','section','','format','') %]
 Archive: [% archive %]
 Suite: [% s.suite %]
 Section: [% s.section %]
@@ -22,7 +22,7 @@ Provided-by: [% s.providers.join(', ') %]
   [%- FOREACH origins -%]
      [%- origin = (archive == main_archive) ? suite : "$suite/$archive" %]
 Package: [% pkg %]
-Url: [% packages_homepage _ make_url(pkg,'','source','source','suite',origin,'section','','arch','','format','') %]
+Url: [% packages_homepage_abs _ make_url(pkg,'','source','source','suite',origin,'section','','arch','','format','') %]
 [%- "\nArchive: $real_archive" IF real_archive %]
 [%- "\nSection: $section" IF section %]
 Subsection: [% subsection %]