1
0

Show Go back link on an error page.

This commit is contained in:
Alexander Andreev 2023-08-12 23:57:55 +04:00
parent e1cf7187df
commit 16ae8d4dca
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -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]