package templates
import (
g "alin.ovh/gomponents"
. "alin.ovh/gomponents/html"
base "alin.ovh/homestead/domain/web/templates"
)
type PageSettings struct {
User string
base.PageSettings
}
func IndexPage(site base.SiteSettings, page PageSettings) g.Node {
return Layout(site, page.PageSettings,
P(
g.Textf("Hello, %s", page.User),
),
)
}
domain/content/publisher/templates/index.go (view raw)