sync/templates/httperror.pug

24 lines
611 B
Plaintext
Raw Normal View History

extends layout.pug
2015-10-27 20:44:40 -07:00
mixin notfound()
h1 Not Found
p The page you were looking for doesn't seem to exist. Please check that you typed the URL correctly.
2015-11-02 20:52:57 -08:00
if message
p Reason: #{message}
2015-10-27 20:44:40 -07:00
mixin forbidden()
h1 Forbidden
p You don't have permission to access <code>#{path}</code>
mixin genericerror()
h1 Oops
p Your request could not be processed. Status code: <code>#{status}</code>, message: <code>#{message}</code>
block content
.col-md-12
.alert.alert-danger
if status == 404
+notfound()
else if status == 403
+forbidden()
else
+genericerror()