satelito

Static [web] site (or page) generator (ssg) made with Lua script.
git clone git://soucy.cc/satelito.git
Log | Files | Refs | README

commit 5efed80ab889638f26c2d37d28f2113ef7ac21f5
parent a17eb5bee2cf5e2766ce5a47c4d152612ec85114
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Tue, 12 Oct 2021 10:01:01 -0400

Add a comment

Diffstat:
Msatelito/list.lua | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/satelito/list.lua b/satelito/list.lua @@ -38,6 +38,7 @@ function list.get_collection(collection, sitemap, asc) local contentdir = lfs.currentdir()..'/'..sitemap[1].paths.content for i = 1, #collection do + -- @TODO Tester si l'item est un fichier ou un répertoire collection_list[#collection_list+1] = file.get_collection(contentdir..collection[i], contentdir) end