added 'message' to 500.html
This commit is contained in:
parent
ad40aae4e9
commit
2916965154
1 changed files with 5 additions and 1 deletions
|
@ -3,5 +3,9 @@ GoWatch Error
|
|||
{{end}}
|
||||
|
||||
{{define "content"}}
|
||||
<h1>Something went wrong, try again.</h1>
|
||||
{{ if .message }}
|
||||
<h1>{{ .message }}</h1>
|
||||
{{ else }}
|
||||
<h1>Something went wrong, try again.</h1>
|
||||
{{ end }}
|
||||
{{end}}
|
Loading…
Add table
Reference in a new issue