]> git.earlybird.gay Git - today/commitdiff
Init raws???
authorearly <me@earlybird.gay>
Sat, 21 Dec 2024 00:59:48 +0000 (17:59 -0700)
committerearly <me@earlybird.gay>
Sat, 21 Dec 2024 00:59:48 +0000 (17:59 -0700)
web/page/page.go

index 296b6b882247e4057683a3e0d934eddfeb826f7f..3aadeb05a18fdb24ddab31a318c18b83c7c7a01e 100644 (file)
@@ -119,6 +119,7 @@ func New(name string, source string, optional ...Config) *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