flounder

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

commit 30103dd54397d530516bf19dc2d6ae1278fe42c8
parent 5e4f552ce6ee50c36e1001575155af7208d477f3
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Wed, 18 Nov 2020 18:29:54 -0800

fix recursivefolder bug

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

diff --git a/main.go b/main.go @@ -136,7 +136,7 @@ func getFiles(p string) ([]*File, error) { IsText: isText, } if file.IsDir() { - f.Children, err = getFiles(path.Join(p, f.Name)) + f.Children, err = getFiles(path.Join(p, file.Name())) } result = append(result, f) }