satelito

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

commit 0838fe099d77d71ed0b9afbfaef28504a318606b
parent 1e2a4edc6732dc5fc19b886af2e5128689d999c9
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Wed, 21 Apr 2021 21:42:09 -0400

Test index.html with the is_index method

Diffstat:
Msatelito/file.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/satelito/file.lua b/satelito/file.lua @@ -101,7 +101,7 @@ end -- Check if the file is index.md function file.is_index(filepath) - return (file.get_basename(filepath) == 'index.md') + return (file.get_basename(filepath) == 'index.md') or (file.get_basename(filepath) == 'index.html') end --