satelito

Static [web] site (or page) generator (ssg) made with Lua script.
git clone git://soucy.cc/satelito.git
Log | Files | Refs | README

commit d1b757a0f11891b4d7f57e4abadc20d9660e02a5
parent a1a3312a9decdcd18270a4563e45256a7b154344
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Mon, 12 Apr 2021 19:52:41 -0400

Extend filemeta in the layout data

Diffstat:
Msatelito/page.lua | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/satelito/page.lua b/satelito/page.lua @@ -18,6 +18,7 @@ function page.make(filemeta, templates) local layout = etlua.compile(file.read(template.find(templates, filemeta.layout))) local html = layout( lume.extend({}, + filemeta, {post = post(lume.extend({}, filemeta))}, {head = head(lume.extend({}, filemeta))}, {navigation = navigation(lume.extend({}, filemeta))}