--- 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