all repos — homestead @ 72b4c0f972a3bdb1a5bec19544d828f2942a6fab

Code for my website

use pointers to posts

Alan Pearce
commit

72b4c0f972a3bdb1a5bec19544d828f2942a6fab

parent

445c43ef8b981bfacc8b465b3997da413370043f

1 file changed, 1 insertion(+), 1 deletion(-)

changed files
M templates/homepage.templtemplates/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{