Permalink
Browse files

Add RSS 2.0 feed to the generated site.

  • Loading branch information...
1 parent 817d76d commit f48902ad0ac2f5ebec2634d0cb00137c008c3938 @creationix committed Feb 3, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 build.js
View
@@ -249,6 +249,9 @@ function render(data, next) {
content: haml("index", data)
}));
+ // Make the RSS Feed...
+ write_file(PUBLIC_DIR + "/feed.xml", haml("feed", data));
+
// Write the static files as is...
loop(data.static, function (filename, content) {
write_file(PUBLIC_DIR + "/" + filename, content.content || content);

0 comments on commit f48902a

Please sign in to comment.