diff --git a/site.moon b/site.moon index 318360d..866f316 100644 --- a/site.moon +++ b/site.moon @@ -18,6 +18,7 @@ posts = (path=".") -> files = [file for file in lfs.dir path when file != "." and file != ".."] {join(path, file), target(file, "/posts") for _, file in ipairs files} +-- Change output dir to what Openresty prefers site! site.config.out_dir = "html/" @@ -30,4 +31,4 @@ sitegen.create => add "index.md" add path, target: target for path, target in pairs posts "docs" - build(css, "app.css") + build css, "app.css" diff --git a/templates/index.html b/templates/index.html index 41e53ce..1a4131b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -11,7 +11,7 @@ type="text/css" media="screen" /> - +