Mercurial > genshi > mirror
view examples/tutorial/geddit/templates/_comment.html @ 829:6e46513e1c5c trunk
Add caching in the serialization stage, which speeds up the serialization of markup that has a lot of repetitive elements.
author | cmlenz |
---|---|
date | Fri, 13 Mar 2009 18:46:01 +0000 |
parents | e990fa05d80b |
children |
line wrap: on
line source
<?python from genshi import HTML ?> <li id="comment$num"> <strong>${comment.username}</strong> at ${comment.time.strftime('%x %X')} <blockquote>${HTML(comment.content)}</blockquote> </li>