satelito

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

commit 0e117fab4c07eab10fd62be1741d1f5da4e23ad3
parent 57e8579902dfec2f5f2fc9fac3b5d5eb68d343c9
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Tue,  8 Feb 2022 09:35:24 -0500

Add a partial meta

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

diff --git a/satelito/model.lua b/satelito/model.lua @@ -73,6 +73,7 @@ function model.set(filepath, config, contentdir) pagemeta.navigation = pagemeta.navigation or 'navigation' pagemeta.footer = pagemeta.footer or 'footer' pagemeta.feed = pagemeta.feed or 'feed.xml' + pagemeta.partial = pagemeta.partial or nil -- Include a partial template and compile it -- @usage <%- include("test-partial") %>