commit 93af4f51a6549130f3037b87ee9c6dc17d819ba7
parent a914457dfb4804cd8817079738ddce2c10df7ccf
Author: Frederic Cambus <fred@statdns.com>
Date: Thu, 3 Mar 2016 23:53:28 +0100
Cleaning after ourselves when index generation is done
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/motyl.lua b/motyl.lua
@@ -126,6 +126,7 @@ data.page.keywords = data.site.keywords
output = lustache:render(templates.archives, data, templates)
writeFile(data.site.destination .. "index.html", output)
status("Rendering index.html")
+data.page = {}
-- Categories
lfs.mkdir(data.site.destination .. "categories")