diff --git a/src/feeds.lisp b/src/feeds.lisp index bc2521b..9f83a22 100644 --- a/src/feeds.lisp +++ b/src/feeds.lisp @@ -30,8 +30,8 @@ :content (xml-escape (post-content post)))))) (render-page "rss.xml" (funcall (theme-fn "RSS") - :pubdate (make-pubdate) - :title (title *config*) - :siteroot (domain *config*) - :author (author *config*) - :posts content)) t)) + (list :pubdate (make-pubdate) + :title (title *config*) + :siteroot (domain *config*) + :author (author *config*) + :posts content)) t))) diff --git a/themes/hyde/rss.tmpl b/themes/hyde/rss.tmpl index 0478022..23abf0f 100644 --- a/themes/hyde/rss.tmpl +++ b/themes/hyde/rss.tmpl @@ -7,20 +7,19 @@ {$title} {$siteroot} - {$title} en-us {$pubdate} {foreach $post in $posts} {$post.title} - {$siteroot}/{$post.url} + {$siteroot}/posts/{$post.url} {$post.date} {$author} - {foreach $tag in $tags} + {$siteroot}/posts/{$post.url} + {foreach $tag in $post.tags} {$tag |noAutoescape} {/foreach} - {$siteroot}/{$post.url} {$post.content |noAutoescape} {/foreach}