satelito

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

commit cb04583d21ab0503eff100cc19edc8d6d73f5890
parent 97d4e4871c7b3df8d2ad1b43b73e2b081a93ae1f
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Sat, 25 Sep 2021 13:00:30 -0400

Add a slash at the beginning

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

diff --git a/satelito/file.lua b/satelito/file.lua @@ -64,7 +64,7 @@ end function file.get_rellink(filepath, dirname) if file.is_index(filepath) then - return file.get_dirname(file.get_relpath(filepath, dirname)) + return '/' .. file.get_dirname(file.get_relpath(filepath, dirname)) else return '/' .. file.get_relpath(filepath, dirname):match('(.+)%..*') .. '.html' end