2
|
1 <!DOCTYPE html
|
|
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
4 <html xmlns="http://www.w3.org/1999/xhtml"
|
|
5 xmlns:py="http://genshi.edgewall.org/"
|
|
6 xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
7 <head>
|
|
8 </head>
|
|
9 <body>
|
|
10 <py:for each="index, image in enumerate(files)">
|
|
11 <div>
|
|
12 <img src="${image['path']}" width="${width or None}" height="${height or None}"/><br/>
|
|
13 ${image['description']}
|
|
14 </div>
|
|
15 <hr py:if="index != len(files) - 1"/>
|
|
16 </py:for>
|
|
17 </body>
|
|
18 </html>
|