satelito

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

commit c84eda71c58ecb12ed02403ce5b7856f02d14bf7
parent 729bccb516f767845f223911442f6342d7a052d0
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sun, 25 Apr 2021 20:48:09 -0400

Inverse values to get the right inheritance

Diffstat:
Msatelito/model.lua | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/satelito/model.lua b/satelito/model.lua @@ -56,9 +56,10 @@ function model.set(filepath, config, contentdir) pagemeta.layout = pagemeta.layout or 'layout' pagemeta.head = pagemeta.head or 'head' pagemeta.nav = pagemeta.nav or 'navigation' + pagemeta.footer = pagemeta.footer or 'footer' pagemeta.feed = pagemeta.feed or 'feed.xml' - return lume.extend({}, pagemeta, config) + return lume.extend({}, config, pagemeta) end return model