use pointers to posts
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M templates/homepage.templ → templates/homepage.templ
@@ -5,7 +5,7 @@ "go.alanpearce.eu/homestead/internal/config" "go.alanpearce.eu/homestead/internal/content" ) -templ Homepage(config *config.Config, posts []content.Post, content templ.Component) { +templ Homepage(config *config.Config, posts []*content.Post, content templ.Component) { @Layout(config, PageSettings{ Title: config.Title, TitleAttrs: templ.Attributes{