satelito

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

commit ab6bf49f2ff19591eef4bb2b3151ded219692f5e
parent aa8b89e248f23c036000ffccd5ce506a7f736c2e
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Thu, 10 Mar 2022 06:31:52 -0500

Put config as argument

Diffstat:
Msatelito/init.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/satelito/init.lua b/satelito/init.lua @@ -122,7 +122,7 @@ if args['pipe'] then templates = lume.array(dirtree.get(lfs.currentdir() .. '/' .. config.paths.templates)) print('=> Making the web site ...') - return site.make(sitemap, templates, args['export'], timestart) + return site.make(sitemap, templates, args['export'], timestart, config) end -- Example: '$ satelito make --export' @@ -168,7 +168,7 @@ if args['make'] then end print('=> Making the web site ...') - return site.make(sitemap, templates, args['export'], timestart) + return site.make(sitemap, templates, args['export'], timestart, config) else print('There is no "config.lua" here.') os.exit()