From 48149478529048e21b5c705182cf1f1fb258b2a5 Mon Sep 17 00:00:00 2001 From: Amy Gale Ruth Bowersox Date: Sat, 17 Jan 2026 22:40:19 -0700 Subject: [PATCH] fix to context recycling and top/bottom anchors on posts display --- ui/amcontext.go | 4 +--- ui/views/posts.jet | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/ui/amcontext.go b/ui/amcontext.go index 4bdb23e..5dfe10c 100644 --- a/ui/amcontext.go +++ b/ui/amcontext.go @@ -575,9 +575,7 @@ func contextRecycler(incoming chan *amContext, done chan bool) { for c := range incoming { c.echoContext = nil c.httprc = http.StatusOK - for k := range c.rendervars { - delete(c.rendervars, k) - } + c.rendervars = make(jet.VarMap) c.outputType = "" c.session = nil c.globals = nil diff --git a/ui/views/posts.jet b/ui/views/posts.jet index a460549..6ff0808 100644 --- a/ui/views/posts.jet +++ b/ui/views/posts.jet @@ -71,7 +71,7 @@
- [ + [ View All {{ if rangeStart > 0 }} | @@ -141,7 +141,7 @@
- [ + [ View All {{ if rangeStart > 0 }} |