all repos — flounder @ 997dff1f2a7f48e1875847e96cac27da488e5c26

A small site builder for the Gemini protocol

bugfixes
alex wennerberg alex@alexwennerberg.com
Mon, 28 Dec 2020 10:27:59 -0800
commit

997dff1f2a7f48e1875847e96cac27da488e5c26

parent

4f3314b9ff2dac956b2e34369bc1bd0bcad1d606

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

jump to
M gemfeed.gogemfeed.go

@@ -68,7 +68,7 @@ gemlogFolderPath := path.Join(c.FilesDirectory, user, gemlogFolder)

// NOTE: assumes sanitized input u := urlFromPath(gemlogFolderPath) feed := Gemfeed{ - Title: user + "'s Gemlog", + Title: strings.Title(user) + "'s Gemlog", Creator: user, Url: &u, }
M gemini.gogemini.go

@@ -24,7 +24,7 @@ data := struct {

Host string Title string FeedEntries []FeedEntry - }{c.Host, strings.ToTitle(user) + "'s Gemlog", feed.Entries} + }{c.Host, feed.Title, feed.Entries} var buff bytes.Buffer gt.ExecuteTemplate(&buff, "gemfeed.gmi", data) return buff.String()