package templates import "git.thomasvoss.com/euro-cash.eu/i18n" templ Base(head, body templ.Component) { {{ p := ctx.Value("printer").(i18n.Printer) }} Euro Cash if head != nil { @head } if body != nil { @body } }