From 879cc25421c66a959ab801f0937b4264a461fc7e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 27 Jun 2024 13:34:21 +0200 Subject: use pointer to config in builder & templates --- templates/error.templ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/error.templ') diff --git a/templates/error.templ b/templates/error.templ index 2da7bef..c336ea9 100644 --- a/templates/error.templ +++ b/templates/error.templ @@ -6,7 +6,7 @@ import ( "strconv" ) -templ Error(config config.Config, path string, err *http.Error) { +templ Error(config *config.Config, path string, err *http.Error) { @Page(config, PageSettings{ Title: "Error", Path: path, -- cgit 1.4.1