use pointers to posts
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M templates/post.templ → templates/post.templ
@@ -22,7 +22,7 @@ { d.Format("2006-01-02") } </time> } -templ PostPage(config *config.Config, post content.Post) { +templ PostPage(config *config.Config, post *content.Post) { @Layout(config, PageSettings{ Title: post.Title, TitleAttrs: templ.Attributes{