diff --git a/html/html.go b/html/html.go index a802aee..4470411 100644 --- a/html/html.go +++ b/html/html.go @@ -13,8 +13,10 @@ import ( //go:embed templates/error.html var errorPage string -var errorTemplate = template.Must(template.New("error").Parse(errorPage)) -var sanitizer = createBlueMondayPolicy() +var ( + errorTemplate = template.Must(template.New("error").Parse(errorPage)) + sanitizer = createBlueMondayPolicy() +) type TemplateContext struct { StatusCode int