all repos — website @ 879cc25421c66a959ab801f0937b4264a461fc7e

My website

use pointer to config in builder & templates

Alan Pearce
commit

879cc25421c66a959ab801f0937b4264a461fc7e

parent

d07ec650aafcfe4692bba8f481bc3cb8204cd4b0

1 file changed, 2 insertions(+), 2 deletions(-)

changed files
M templates/list.templtemplates/list.templ
@@ -5,7 +5,7 @@ "website/internal/config"
"website/internal/content" ) -templ TagPage(config config.Config, tag string, posts []content.Post, path string) { +templ TagPage(config *config.Config, tag string, posts []content.Post, path string) { @Page(config, PageSettings{ Title: tag, Path: path,
@@ -24,7 +24,7 @@ @list(posts)
} } -templ ListPage(config config.Config, posts []content.Post, path string) { +templ ListPage(config *config.Config, posts []content.Post, path string) { @Page(config, PageSettings{ Title: config.Title, TitleAttrs: templ.Attributes{