Mercurial > genshi > genshi-test
comparison examples/tutorial/geddit/templates/info.html @ 633:d648cd694286
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 | 693a7212b348 |
children |
comparison
equal
deleted
inserted
replaced
632:c5e5801c32ac | 633:d648cd694286 |
---|---|
45 return false; | 45 return false; |
46 }); | 46 }); |
47 }); | 47 }); |
48 </script> | 48 </script> |
49 </head> | 49 </head> |
50 <body> | 50 <body class="info"> |
51 <h1>${link.title}</h1> | 51 <h1>${link.title}</h1> |
52 <a href="${link.url}">${link.url}</a><br /> | 52 <a href="${link.url}">${link.url}</a><br /> |
53 posted by ${link.username} at ${link.time.strftime('%x %X')}<br /> | 53 posted by ${link.username} at ${link.time.strftime('%x %X')}<br /> |
54 | 54 |
55 <ul py:if="link.comments" class="comments"> | 55 <ul py:if="link.comments" class="comments"> |