commit 666c70446e481aedbc9c4728745ef6ce5eaf9617
parent 05604981ed07933989a13491469fb1d539208e30
Author: Hugo Soucy <hugo@soucy.cc>
Date: Sat, 18 Jun 2022 13:51:09 -0400
Add a comment
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/satelito/init.lua b/satelito/init.lua
@@ -124,6 +124,7 @@ if args['pipe'] then
print('=> Making the web site ...')
+ -- Sorting by alphanum
table.sort(sitemap, function(a, b) return a.idorder > b.idorder end)
return site.make(sitemap, args['export'], timestart)