small pixel drawing of a pufferfish vore

style updoots
Jes Olson j3s@c3f.net
Wed, 22 Mar 2023 20:46:37 -0700
commit

aef8eae06896c519115aabeea65aefaea24b49f8

parent

0a590db3845029c3a5dc15efbf5387e3608db875

3 files changed, 8 insertions(+), 8 deletions(-)

jump to
M files/feeds.tmpl.htmlfiles/feeds.tmpl.html

@@ -60,12 +60,10 @@ <h3>feed details</h3>

{{ end }} {{ range .Data }} <pre> -{{ if .Title }}{{ .Title }}{{ else }}{{ .UpdateURL }}{{ end }} { - title = {{ .Title }} - desc = {{ .Description }} - url = {{ .UpdateURL }} - items = {{ len .Items }} -} +{{ .UpdateURL }} + title: {{ .Title | trimSpace }} + desc: {{ .Description | trimSpace }} + items: {{ len .Items }} </pre> {{ end }} {{ else }}
M files/nav.tmpl.htmlfiles/nav.tmpl.html

@@ -7,7 +7,7 @@ | {{ .CutePhrase }}

</span> <span class=right-text> {{ if .LoggedIn }} - <a href="/feeds">my feeds</a></h3> | + <a href="/feeds">feeds</a></h3> | <a href="/logout">logout</a> {{ else }} <a href="/login">login</a>
M site.gosite.go

@@ -266,6 +266,7 @@ // handler should do tbh.

func (s *Site) renderPage(w http.ResponseWriter, r *http.Request, page string, data any) { funcMap := template.FuncMap{ "printDomain": s.printDomain, + "trimSpace": strings.TrimSpace, } tmplFiles := filepath.Join("files", "*.tmpl.html")

@@ -366,8 +367,9 @@ "^(;,;)^ vawr",

"( -_•)╦̵̵̿╤─ - - -- - vore", "devouring feeds since 2023", "tfw new rss post (⊙ _ ⊙ )", - "hai! ( ˘͈ ᵕ ˘͈♡)", + "( ˘͈ ᵕ ˘͈♡) <3", "voreposting", + "vore dot website", } i := rand.Intn(len(phrases)) return phrases[i]