flounder

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

commit c6d785b9197ca57959ab81097093f42fda4e45c8
parent e463de9c514e8add5f981c6a977809ecfc7c6974
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun, 27 Dec 2020 19:27:49 -0800

quick fix

Diffstat:
Mgemfeed.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gemfeed.go b/gemfeed.go @@ -68,7 +68,6 @@ func generateFeedFromUser(user string) []FeedEntry { 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 @@ func generateFeedFromUser(user string) []FeedEntry { } entry.Title = "[" + title + "...]" } + break } - entry.File = base + entry.File = getLocalPath(thepath) feedEntries = append(feedEntries, entry) } return nil