<?xml version="1.0"?>
<?python
import os
?>
<html xmlns:py="http://purl.org/kid/ns#">
<head>
<title>${title}</title>
</head>
<body>
<h1>${title}</h1>
<!-- extract lots of metadata to decorate -->
<table>
<tr><th>Image</th><th>name</th><th>sizes</th></tr>
<tr py:for="name, thumb, eachsize in all">
<td><img src="${thumb}" /></td>
<td>${name}</td>
<td py:for="stag, shref in eachsize">
  <a href="${shref}.html">${stag}</a>
</td>
</tr>
</table>
</body>
</html>