comparison examples/tutorial/geddit/templates/comment.html @ 633:f779e566884d trunk

GenshiTutorial: add body class to show that the ''@*'' XPath in the match template works.
author cmlenz
date Wed, 05 Sep 2007 12:39:56 +0000
parents abad7c2ebe15
children
comparison
equal deleted inserted replaced
632:e5c57d7611f2 633:f779e566884d
4 xmlns:py="http://genshi.edgewall.org/"> 4 xmlns:py="http://genshi.edgewall.org/">
5 <xi:include href="layout.html" /> 5 <xi:include href="layout.html" />
6 <head> 6 <head>
7 <title>Comment on “${link.title}”</title> 7 <title>Comment on “${link.title}”</title>
8 </head> 8 </head>
9 <body> 9 <body class="comment">
10 <h1>Comment on “${link.title}”</h1> 10 <h1>Comment on “${link.title}”</h1>
11 <p py:if="comment"> 11 <p py:if="comment">
12 In reply to <strong>${comment.username}</strong> 12 In reply to <strong>${comment.username}</strong>
13 at ${comment.time.strftime('%x %X')}: 13 at ${comment.time.strftime('%x %X')}:
14 <blockquote>${comment.content}</blockquote> 14 <blockquote>${comment.content}</blockquote>
Copyright (C) 2012-2017 Edgewall Software