flounder

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

commit 4f3314b9ff2dac956b2e34369bc1bd0bcad1d606
parent b61e098ef81b5fb51e592169aa2f0254b4add396
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Mon, 28 Dec 2020 10:25:38 -0800

Titlecase gemlog

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

diff --git a/gemini.go b/gemini.go @@ -24,7 +24,7 @@ func generateGemfeedPage(user string) string { Host string Title string FeedEntries []FeedEntry - }{c.Host, user + "'s Gemlog", feed.Entries} + }{c.Host, strings.ToTitle(user) + "'s Gemlog", feed.Entries} var buff bytes.Buffer gt.ExecuteTemplate(&buff, "gemfeed.gmi", data) return buff.String()