]> git.r.bdr.sh - rbdr/blog/blobdiff - templates/feed.xml
Use serde and time
[rbdr/blog] / templates / feed.xml
index 17a4c7c5410cb350bff7e95a3b93fad94a033d95..d95e38cde9f0c3f7354217bfc390c647e45dd2b1 100644 (file)
@@ -4,13 +4,13 @@
     <title>My Ephemeral Blog</title>
     <description>My Ephemeral Blog</description>
     <language>en</language>
-    {{~ it.posts: post}}
+    {{~ posts: post}}
       <item>
         <guid isPermaLink="false">blog:{{= post.id}}</guid>
-        <pubDate>{{= post.createdOn}}</pubDate>
+        <pubDate>{{= post.created_on_utc}}</pubDate>
         <title>{{= post.title}}</title>
         <description>
-          {{= post.html}}
+          {{= post.escaped_html}}
         </description>
       </item>
     {{~}}