package templates import ( "strconv" g "alin.ovh/gomponents" . "alin.ovh/gomponents/html" http "alin.ovh/homestead/domain/web/middleware" ) func Error(site SiteSettings, err *http.Error) g.Node { return Layout(site, PageSettings{ Title: "Error", }, Div( H1(g.Text(strconv.Itoa(err.Code)+" "+err.Message)), H2(g.Text("ʕノ•ᴥ•ʔノ ︵ ┻━┻")), )) }