Mercurial > hg > montage
comparison montage/templates/strip.html @ 29:b61fe6b0ebe1
add anchors to strip.html
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 29 Dec 2011 23:20:12 -0800 |
parents | ee74cf1e444b |
children |
comparison
equal
deleted
inserted
replaced
28:2df31d088583 | 29:b61fe6b0ebe1 |
---|---|
11 <xi:include py:if="include" href="${include}"/> | 11 <xi:include py:if="include" href="${include}"/> |
12 | 12 |
13 <center> | 13 <center> |
14 <py:for each="index, image in enumerate(files)"> | 14 <py:for each="index, image in enumerate(files)"> |
15 <div class="image"> | 15 <div class="image"> |
16 <a name="${image['name']}"/> | |
16 <a href="${image['link']}"> | 17 <a href="${image['link']}"> |
17 <img src="${image['path']}" width="${width or None}" height="${height or None}"/> | 18 <img src="${image['path']}" width="${width or None}" height="${height or None}"/> |
18 </a> | 19 </a> |
19 <br/> | 20 <br/> |
20 ${image.get('title', image['description'])} | 21 ${image.get('title', image['description'])} |