Wed, 20 May 2009 14:43:12 +0100
Fix for index.html to be saved in output_dir
build.lua | file | annotate | diff | comparison | revisions |
--- 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 "");