commit a914457dfb4804cd8817079738ddce2c10df7ccf
parent e9eee2372aa4f0bf34abf6b78689a9779b5e5550
Author: Frederic Cambus <fred@statdns.com>
Date: Thu, 3 Mar 2016 23:53:08 +0100
No need to nil the URL anymore since we know have a clean data.page object
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/motyl.lua b/motyl.lua
@@ -122,7 +122,7 @@ table.sort(data.site.posts, sortDates)
data.page.title = data.site.title
data.page.description = data.site.description
data.page.keywords = data.site.keywords
-data.page.url = nil
+
output = lustache:render(templates.archives, data, templates)
writeFile(data.site.destination .. "index.html", output)
status("Rendering index.html")