2021-12-11 13:06:28 -08:00
|
|
|
{{define "content"}}
|
2021-12-23 17:58:49 -08:00
|
|
|
{{if ge .StatusCode 500}}
|
|
|
|
<p>Please try again.</p>
|
2021-12-11 13:06:28 -08:00
|
|
|
{{else if or (eq .StatusCode 403) (eq .StatusCode 401)}}
|
|
|
|
<p>You are not authorized to view the requested page.</p>
|
|
|
|
{{else if eq .StatusCode 404}}
|
2021-12-18 14:02:29 -08:00
|
|
|
<p>Click {{link (call .ToURL "home") "here" .Path}} to return home</p>
|
2021-12-11 13:06:28 -08:00
|
|
|
{{else}}
|
|
|
|
<p>Something went wrong</p>
|
|
|
|
{{end}}
|
|
|
|
{{end}}
|