all repos — flounder @ c6d785b9197ca57959ab81097093f42fda4e45c8

A small site builder for the Gemini protocol

quick fix
alex wennerberg alex@alexwennerberg.com
Sun, 27 Dec 2020 19:27:49 -0800
commit

c6d785b9197ca57959ab81097093f42fda4e45c8

parent

e463de9c514e8add5f981c6a977809ecfc7c6974

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

jump to
M gemfeed.gogemfeed.go

@@ -68,7 +68,6 @@ }

line := scanner.Text() if strings.HasPrefix(line, "#") { entry.Title = strings.Trim(line, "# \t") - break } else { var title string if len(line) > 50 {

@@ -78,8 +77,9 @@ title = line

} entry.Title = "[" + title + "...]" } + break } - entry.File = base + entry.File = getLocalPath(thepath) feedEntries = append(feedEntries, entry) } return nil