package proxy import ( "html/template" log "github.com/sirupsen/logrus" ) func getTemplates() *template.Template { t, err := template.New("foo").Parse(`{{define "error.html"}} {{.Title}}

{{.Title}}

{{.Message}}


Sign In

Powered by authentik

{{end}}`) if err != nil { log.Fatalf("failed parsing template %s", err) } return t }