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/tags.templ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/tags.templ') diff --git a/templates/tags.templ b/templates/tags.templ index 7218ca1..5e9878a 100644 --- a/templates/tags.templ +++ b/templates/tags.templ @@ -6,7 +6,7 @@ templ tagLink(tag string, attrs templ.Attributes) { #{ tag } } -templ TagsPage(config config.Config, title string, tags []string, path string) { +templ TagsPage(config *config.Config, title string, tags []string, path string) { @Page(config, PageSettings{ Title: title, Path: path, -- cgit 1.4.1