{{/* The shared error body, for every status a surface refuses with. Its dot is a pages.ErrorData and not a view struct, so a service that wants its own error.html can wrap this rather than copy it: {{define "content"}}{{template "srht-error" .Data}}{{end}} The message is escaped here — it is a constant on most arms, but the ones that are not quote what the caller typed. */}} {{define "srht-error" -}}

{{.Status}} — {{.StatusText}}

{{if .Message}}

{{.Message}}

{{end}} {{with .Back.Href}}

{{$.Back.Text}}

{{end}}
{{- end}}