package layouts type StaticPageConfig struct { MainTitle string SubTitle string } templ StaticPage(config StaticPageConfig, children ...templ.Component) { Clustvirt
@header(config.MainTitle, config.SubTitle)
for _, child := range children { @child }
} templ header(title string, subtitle string) {

{ title }

{ subtitle }

} templ nav() { } templ footer() {
}