ferron

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

commit 9a7f9bddb93f7bd2a6031a371d535385c25b5b86
parent 2e81e04c2b13ab35569181b6ae2210023c2781c4
Author: Hugo Soucy <hsoucy@kronostechnologies.com>
Date:   Mon, 28 Jan 2019 09:02:42 -0500

Add a comment about while loop and coroutine.

Diffstat:
Mferron/site.lua | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ferron/site.lua b/ferron/site.lua @@ -82,7 +82,8 @@ function site.makenavigation() local contentpath = assert(fileutils.isDirectory(site.content)) local navigationTable = {} - -- It's a dumb way to sort but it works for now + -- It's a dumb way to sort but it works for now. + -- Maybe it should be with while loop or coroutine. local function sortNavigation(tbl) local sortTable = {}