diff --git a/internal/render/render.go b/internal/render/render.go index d50b5b0..ea2e0f4 100644 --- a/internal/render/render.go +++ b/internal/render/render.go @@ -90,6 +90,7 @@ func RenderTemplate(w http.ResponseWriter, t string, data *models.TemplateData) if err != nil { app.Logger.Fatal("Error generating template cache, bailing out!") } + app.TemplateCache = cache } // Get templates from cache