$def with (cat_name, pkgs, timeinfo, n_of_pkgs)
<html>
  <head>
    <title>
      $cat_name
    </title>
    <link rel="stylesheet" type="text/css" href="../../static/pkgdb.css" />
  </head>
  <body>
    <h3>$cat_name</h3>
    <p>$n_of_pkgs packages</p>
<table>
  <tr>
    <th>filename</th>
    <th>catalogname</th>
    <th>version</th>
  </tr>
$for pkg in pkgs:
  <tr>
  <td><a href="../../srv4/$pkg.md5_sum/">$pkg.basename</a>
  <td><a href="../../catalognames/$pkg.catalogname/" title="All packages named '$pkg.catalogname'.">$pkg.catalogname</a></td>
  <td>$pkg.version_string</td>
  </tr>
</table>
<p><code>$timeinfo</code></p>
</body>
</html>
