ferron

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

commit c50f02ef8ef0edc212e78e491f1b8e63dfb769a9
parent 71703c6a2214df069c3f3f5542147efcb6df8a22
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Fri,  4 Jan 2019 11:27:33 -0500

Print the output when the page is rendered

Diffstat:
Mferron/page.lua | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ferron/page.lua b/ferron/page.lua @@ -41,8 +41,10 @@ function page.render(pagesource) assert(fileutils.isDirectory(site.templates)) .. "/partials" ) ) - --print(page) - return + + print(page_conf.date .. " - " .. page_conf.title) + + return true end function page.init()