diff -r 80eb1f7784c4 -r f22a275a3a33 build.lua --- a/build.lua Wed May 20 14:40:24 2009 +0100 +++ b/build.lua Wed May 20 14:43:12 2009 +0100 @@ -160,7 +160,7 @@ -- Do main page local main_tpl = templates.init(layouts_dir.."/main.html"); -main_tpl:saverender("index.html", { title = blog_title, posts = posts }); +main_tpl:saverender(output_dir.."index.html", { title = blog_title, posts = posts }); msg_info("%s post%s published, %d post%s unpublished", #posts, #posts ~= 1 and "s" or "", unpublished, unpublished ~= 1 and "s" or "");