motyl

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

commit c617032aff2335bf53a1d712973334dca0bc09ec
parent d88dcd1c22bae74a7d2009003d7b669e3212fadd
Author: Frederic Cambus <fred@statdns.com>
Date:   Sat, 27 Feb 2016 18:47:10 +0100

Reporting progression when generating archives and categories pages

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

diff --git a/motyl.lua b/motyl.lua @@ -121,6 +121,7 @@ data.page.title = "Archives" lfs.mkdir(data.site.destination .. "archives") output = lustache:render(templates.archives, data, templates) writeFile(data.site.destination .. "archives/index.html", output) +status("Rendering archives/") -- Categories lfs.mkdir(data.site.destination .. "categories") @@ -133,4 +134,5 @@ for category in pairs(data.site.categories) do lfs.mkdir(data.site.destination .. "categories/" .. data.site.categoryMap[category]) writeFile(data.site.destination .. "categories/" .. data.site.categoryMap[category] .. "/index.html", output) + status("Rendering " .. "categories/" .. data.site.categoryMap[category]) end