diff examples/tutorial/geddit/templates/index.html @ 622:6780f1b1b20d trunk

GenshiTutorial: add Atom feeds.
author cmlenz
date Thu, 30 Aug 2007 22:49:48 +0000
parents 734fbb77b579
children 58be58c03509
line wrap: on
line diff
--- a/examples/tutorial/geddit/templates/index.html
+++ b/examples/tutorial/geddit/templates/index.html
@@ -5,10 +5,12 @@
   <xi:include href="layout.html" />
   <head>
     <title>News</title>
+    <link rel="alternate" type="application/atom+xml" title="Geddit News"
+          href="${url('/feed/')}" />
   </head>
   <body>
     <h1>News</h1>
-    <p><a href="${url('/submit/')}">Submit new link</a></p>
+    <p><a class="action" href="${url('/submit/')}">Submit new link</a></p>
 
     <ol py:if="links" class="links">
       <li py:for="link in links">
Copyright (C) 2012-2017 Edgewall Software