Mercurial > genshi > genshi-test
view examples/tutorial/geddit/templates/comments.html @ 618:5a2059ce1f0b
Simplify the tutorial project: comments are now flat, not hierarchical.
author | cmlenz |
---|---|
date | Thu, 30 Aug 2007 09:08:06 +0000 |
parents | 0dc152d128f5 |
children |
line wrap: on
line source
<!DOCTYPE html> <ul xmlns="http://www.w3.org/1999/xhtml" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:py="http://genshi.edgewall.org/" py:if="comments" class="comments"> <li py:for="comment in comments"> <strong>${comment.username}</strong> at ${comment.time.strftime('%M/%d/%Y %H:%m')} <blockquote>${comment.content}</blockquote> </li> </ul>