package page import "projectreshoot/view/layout" import "strconv" // Page template for Error pages. Error code should be a HTTP status code as // a string, and err should be the corresponding response title. // Message is a custom error message displayed below the code and error. templ Error(code int, err string, message string) { @layout.Global() {

{ strconv.Itoa(code) }

{ err }

{ message }

Go to homepage
} }