ferron

Ferron is a fast and simple static website generator made with Lua.
Log | Files | Refs | Submodules | README | LICENSE

commit 35ba4140ec60ad3c085b9ee398f6ab18a78debba
parent 9daa13d36dfef94eaa0c9acb495d81e6ae567333
Author: Hugo Soucy <hugo.soucy@savoirfairelinux.com>
Date:   Fri,  9 Feb 2018 14:48:30 -0500

Remove useless print and add comments.

Diffstat:
Mferron.lua | 2+-
Mferron/link.lua | 4+---
Mferron/tag.lua | 2--
3 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/ferron.lua b/ferron.lua @@ -47,7 +47,7 @@ Ferron.build = { feed.makefeed, link.makeshorts, link.makerewritemap, - tag.maketagpage, + --tag.maketagpage, static.move } diff --git a/ferron/link.lua b/ferron/link.lua @@ -33,9 +33,7 @@ function link.makeshorts() end end - fileutils.pushfilecontent(links_db, json.encode(links, {indent = true})) - - print("==========") + return fileutils.pushfilecontent(links_db, json.encode(links, {indent = true})) end function link.makerewritemap() diff --git a/ferron/tag.lua b/ferron/tag.lua @@ -47,8 +47,6 @@ function tag.maketagpage() fileutils.mkdir(htmlpath .. "/tag") end - --print(Ferron.site.path .. Ferron.site.siteconfig.paths.templates .. "/tag.mustache") - -- Build the HTML file fileutils.pushfilecontent( htmlpath .. "/tag/" .. tag .. ".html",