From 4fabd4f07ec3ea2158576c0e83aae1482c58f533 Mon Sep 17 00:00:00 2001 From: early Date: Fri, 20 Dec 2024 18:08:36 -0700 Subject: [PATCH] quit being silly and remember that Static exists. make a mental note to do this less often. --- web/page/page.go | 1 + 1 file changed, 1 insertion(+) diff --git a/web/page/page.go b/web/page/page.go index 3aadeb0..7d62341 100644 --- a/web/page/page.go +++ b/web/page/page.go @@ -183,6 +183,7 @@ func Static(source string) *Page { return p } + p.raws = make(map[language.Tag]string) renderables := make(map[language.Tag]*renderable) for _, result := range results { p.raws[result.Language] = result.TemplateRaw -- 2.39.5