package templates import ( "go.alanpearce.eu/website/internal/config" "go.alanpearce.eu/website/internal/http" "strconv" ) templ Error(config *config.Config, path string, err *http.Error) { @Page(config, PageSettings{ Title: "Error", Path: path, }) {

{ strconv.Itoa(err.Code) } { err.Message }

ʕノ•ᴥ•ʔノ ︵ ┻━┻

} }