Show Go back link on an error page.
This commit is contained in:
parent
e1cf7187df
commit
16ae8d4dca
@ -22,7 +22,7 @@ block nav
|
||||
h1 #{http.StatusText(code)}
|
||||
|
||||
block content
|
||||
:go:func ErrorXXX(title, reason, message string, code int)
|
||||
:go:func ErrorXXX(title, reason, message, referer string, code int)
|
||||
section#error
|
||||
h1 #{code}
|
||||
| #{http.StatusText(code)}
|
||||
@ -30,3 +30,6 @@ block content
|
||||
p #{reason}
|
||||
if message != ""
|
||||
p #{message}
|
||||
if referer != ""
|
||||
section
|
||||
h2 #[a(href=referer) Go back]
|
||||
|
Loading…
Reference in New Issue
Block a user