Mercurial > genshi > mirror
comparison examples/tutorial/geddit/templates/comments.html @ 611:236c351928a2 trunk
Add current code for GenshiTutorial to the `examples` directory.
author | cmlenz |
---|---|
date | Wed, 29 Aug 2007 17:51:45 +0000 |
parents | |
children | 06165fee45ab |
comparison
equal
deleted
inserted
replaced
610:5e358de79e4c | 611:236c351928a2 |
---|---|
1 <!DOCTYPE html> | |
2 <ul xmlns="http://www.w3.org/1999/xhtml" | |
3 xmlns:xi="http://www.w3.org/2001/XInclude" | |
4 xmlns:py="http://genshi.edgewall.org/" | |
5 py:if="comments" class="comments"> | |
6 <li py:for="comment in comments"> | |
7 <strong>${comment.username}</strong> | |
8 at ${comment.time.strftime('%M/%d/%Y %H:%m')} | |
9 <blockquote>${comment.content}</blockquote> | |
10 <a href="/reply/${comment.code}/">reply</a> | |
11 <xi:include href="comments.html" py:with="comments=comment.replies" /> | |
12 </li> | |
13 </ul> |