diff --git a/web/templates/errorXXX.pug b/web/templates/errorXXX.pug index f659cda..ad9dfa3 100755 --- a/web/templates/errorXXX.pug +++ b/web/templates/errorXXX.pug @@ -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]