provide a link for an atom entry. switch mode=xml to type=xhtml.
Brian Cassidy [Thu, 15 Apr 2010 11:42:47 +0000 (08:42 -0300)]
(cherry picked from commit e007b9ee66a2130ec72909132c73f475b82753cb)

root/repository/atom.tt2

index bd143a1..9f721ab 100644 (file)
@@ -6,7 +6,8 @@
   <entry>
     <title>[% Commit.title | html_entity %]</title>
     <id>[% Commit.id %]</id>
-    <content mode="xml">
+    <link rel="alternate" type="text/html" href="[% Commit.id %]" />
+    <content type="xhtml">
       <div xmlns="http://www.w3.org/1999/xhtml">[% Commit.content | html_entity %]</div>
     </content>
   </entry>