motyl

Opinionated blog-aware static site generator written in Ruby
Log | Files | Refs | README | LICENSE

commit e9eee2372aa4f0bf34abf6b78689a9779b5e5550
parent 1d25ce25dde4d7c4b3af765a4da0c4f1c2a88d02
Author: Frederic Cambus <fred@statdns.com>
Date:   Thu,  3 Mar 2016 23:52:26 +0100

Cleaning the content of data.page after each generated page and/or post

Diffstat:
Mmotyl.lua | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/motyl.lua b/motyl.lua @@ -103,6 +103,8 @@ local function render(directory) lfs.mkdir(data.site.destination .. path) writeFile(data.site.destination .. path .. "/index.html", output) + + data.page = {} end end end