Mercurial > genshi > genshi-test
diff examples/tutorial/geddit/templates/index.html @ 627:2f4dc32a13e7
GenshiTutorial: minor tweaks to sync with Wiki page.
author | cmlenz |
---|---|
date | Fri, 31 Aug 2007 23:13:27 +0000 |
parents | dba522b4c31d |
children | 693a7212b348 |
line wrap: on
line diff
--- a/examples/tutorial/geddit/templates/index.html +++ b/examples/tutorial/geddit/templates/index.html @@ -5,24 +5,17 @@ <xi:include href="layout.html" /> <head> <title>News</title> - <link rel="alternate" type="application/atom+xml" title="Geddit" - href="${url('/feed/')}" /> </head> <body> <h1>News</h1> - <ol py:if="links" class="links"> + <ol py:if="links"> <li py:for="link in links"> <a href="${link.url}">${link.title}</a> posted by ${link.username} at ${link.time.strftime('%x %X')} - <div class="info"> - <a href="${url('/info/%s/' % link.id)}"> - ${len(link.comments)} comments - </a> - </div> </li> </ol> - <p><a class="action" href="${url('/submit/')}">Submit new link</a></p> + <p><a class="action" href="/submit/">Submit new link</a></p> </body> </html>