# HG changeset patch # User Matthew Wild # Date 1242826992 -3600 # Node ID f22a275a3a33a55d20c8060d985a26158ba65140 # Parent 80eb1f7784c4a5d40340ab36be88d923936a2925 Fix for index.html to be saved in output_dir 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 "");