wikijs-fork/server/views/error.pug

14 lines
379 B
Plaintext
Raw Normal View History

2017-09-10 05:41:22 +00:00
extends ./master.pug
2016-08-17 03:56:08 +00:00
2017-09-10 05:41:22 +00:00
block body
2017-02-10 02:35:37 +00:00
body(class='is-error')
.container
2017-09-10 05:41:22 +00:00
a(href='/'): img(src=config.site.path + '/images/logo.png')
2017-02-10 02:35:37 +00:00
h1= message
2017-05-03 01:00:58 +00:00
h2= t('errors:generic')
2017-09-10 05:41:22 +00:00
a.button.is-amber.is-inverted.is-featured(href=config.site.path+ '/')= t('errors:actions.gohome')
2017-02-10 02:35:37 +00:00
if error.stack
2017-05-03 01:00:58 +00:00
h3= t('errors:debugmsg')
2017-02-10 02:35:37 +00:00
pre: code #{error.stack}