package components import "github.com/tigorlazuardi/redmage/views" templ Head(vc *views.Context, extras ...templ.Component) { @Dayjs(vc) @HTMX(vc) @AlpineJS(vc) if vc.Config.Bool("http.hotreload") { } for _, extra := range extras { @extra } } templ HeadTitle(name string) { { name } }