package templates import ( "go.alanpearce.eu/homestead/internal/config" "go.alanpearce.eu/homestead/internal/content" ) templ Page(config *config.Config, page *content.Post) { @Layout(config, PageSettings{ Title: page.Title, TitleAttrs: templ.Attributes{ "class": "h-card", "rel": "author", }, Path: page.URL, }) {