flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 9d08acc9a00f80cfbbc0145ddf0608a00593770e
parent e53e5ea968f373f93d404acc0c1c90e1a6f52fd9
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Wed, 18 Nov 2020 18:58:27 -0800

hotfix

Diffstat:
Mmain.go | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main.go b/main.go @@ -90,7 +90,8 @@ func getLocalPath(filesPath string) string { func getCreator(filePath string) string { l := len(strings.Split(c.FilesDirectory, "/")) - return strings.Split(filePath, "/")[l] + r := strings.Split(filePath, "/")[l-1] + return r } func getIndexFiles() ([]*File, error) { // cache this function