package templates import ( "go.alanpearce.eu/website/internal/config" "go.alanpearce.eu/website/internal/content" ) templ Homepage(config *config.Config, posts []content.Post, content string) { @Page(config, PageSettings{ Title: config.Title, TitleAttrs: templ.Attributes{ "class": "p-name u-url", }, Path: "/", BodyAttrs: templ.Attributes{ "class": "h-card", }, }) {