all repos — flounder @ 9d08acc9a00f80cfbbc0145ddf0608a00593770e

A small site builder for the Gemini protocol

hotfix
alex wennerberg alex@alexwennerberg.com
Wed, 18 Nov 2020 18:58:27 -0800
commit

9d08acc9a00f80cfbbc0145ddf0608a00593770e

parent

e53e5ea968f373f93d404acc0c1c90e1a6f52fd9

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M main.gomain.go

@@ -90,7 +90,8 @@ }

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