Download this file
| 1 | {{/* errors.html — the app's error page: layout.html's content block |
| 2 | rendered by render.go's ErrorPage, which cmd/<app>/main.go points |
| 3 | Options.ErrorPage at (so a panic gets this page) and which the app |
| 4 | can wire to Ctx.ErrorPage too as handlers grow. All the wording |
| 5 | and layout live in the partial below — restyle the error page by |
| 6 | editing this file, or hand it Title/Body/HomeHref/BackHref to |
| 7 | override the partial's own catalog defaults; see |
| 8 | ui/partials/error-page.html for what it accepts. */}} |
| 9 | {{define "title"}}{{.Title}}{{end}} |
| 10 | {{define "content"}}{{template "estilo-error" .Data}}{{end}} |
| 11 | |