annotate examples/tutorial/geddit/templates/info.html @ 622:dc35e9882390

GenshiTutorial: add Atom feeds.
author cmlenz
date Thu, 30 Aug 2007 22:49:48 +0000
parents d218020fb92a
children dba522b4c31d
rev   line source
611
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
1 <!DOCTYPE html>
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
2 <html xmlns="http://www.w3.org/1999/xhtml"
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
3 xmlns:xi="http://www.w3.org/2001/XInclude"
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
4 xmlns:py="http://genshi.edgewall.org/">
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
5 <xi:include href="layout.html" />
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
6 <head>
619
71d3edd302ae GenshiTutorial: various updates to sync with wiki page.
cmlenz
parents: 618
diff changeset
7 <title>${link.title}</title>
622
dc35e9882390 GenshiTutorial: add Atom feeds.
cmlenz
parents: 621
diff changeset
8 <link rel="alternate" type="application/atom+xml" title="Geddit: ${link.title}"
dc35e9882390 GenshiTutorial: add Atom feeds.
cmlenz
parents: 621
diff changeset
9 href="${url('/feed/%s/' % link.id)}" />
611
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
10 </head>
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
11 <body>
619
71d3edd302ae GenshiTutorial: various updates to sync with wiki page.
cmlenz
parents: 618
diff changeset
12 <h1>${link.title}</h1>
71d3edd302ae GenshiTutorial: various updates to sync with wiki page.
cmlenz
parents: 618
diff changeset
13 <a href="${link.url}">${link.url}</a><br />
621
d218020fb92a Use system default date/time format in templates.
cmlenz
parents: 619
diff changeset
14 posted by ${link.username} at ${link.time.strftime('%x %X')}<br />
622
dc35e9882390 GenshiTutorial: add Atom feeds.
cmlenz
parents: 621
diff changeset
15
dc35e9882390 GenshiTutorial: add Atom feeds.
cmlenz
parents: 621
diff changeset
16 <p><a class="action" href="${url('/comment/%s/' % link.id)}">comment</a></p>
dc35e9882390 GenshiTutorial: add Atom feeds.
cmlenz
parents: 621
diff changeset
17
619
71d3edd302ae GenshiTutorial: various updates to sync with wiki page.
cmlenz
parents: 618
diff changeset
18 <ul py:if="link.comments" class="comments">
622
dc35e9882390 GenshiTutorial: add Atom feeds.
cmlenz
parents: 621
diff changeset
19 <li py:for="idx, comment in enumerate(link.comments)" id="comment$idx">
618
5a2059ce1f0b Simplify the tutorial project: comments are now flat, not hierarchical.
cmlenz
parents: 615
diff changeset
20 <strong>${comment.username}</strong>
621
d218020fb92a Use system default date/time format in templates.
cmlenz
parents: 619
diff changeset
21 at ${comment.time.strftime('%x %X')}
618
5a2059ce1f0b Simplify the tutorial project: comments are now flat, not hierarchical.
cmlenz
parents: 615
diff changeset
22 <blockquote>${comment.content}</blockquote>
5a2059ce1f0b Simplify the tutorial project: comments are now flat, not hierarchical.
cmlenz
parents: 615
diff changeset
23 </li>
5a2059ce1f0b Simplify the tutorial project: comments are now flat, not hierarchical.
cmlenz
parents: 615
diff changeset
24 </ul>
611
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
25 </body>
16b1be35c265 Add current code for GenshiTutorial to the `examples` directory.
cmlenz
parents:
diff changeset
26 </html>
Copyright (C) 2012-2017 Edgewall Software