Mon, 14 Sep 2009 00:16:13 +0300
fixes
handlers.lua | file | annotate | diff | comparison | revisions | |
handlers/render.lua | file | annotate | diff | comparison | revisions |
--- a/handlers.lua Sun Sep 13 22:22:47 2009 +0300 +++ b/handlers.lua Mon Sep 14 00:16:13 2009 +0300 @@ -7,6 +7,7 @@ local available={ { pattern = "%.lg$", handler = handlers.render}, + { pattern = "%.note$", handler = handlers.ignore}, { pattern = "", handler = handlers.copy}, }
--- a/handlers/render.lua Sun Sep 13 22:22:47 2009 +0300 +++ b/handlers/render.lua Mon Sep 14 00:16:13 2009 +0300 @@ -101,7 +101,7 @@ if not build then if page.meta.dependencies then for p, _ in pairs(env.pages) do - if string.match(page.meta.dependencies, p) then + if string.match(p, page.meta.dependencies) then table.insert(deps, path.join(env.paths.src, p)) end end