wikijs-fork/server/views/error.pug
2017-09-10 01:41:22 -04:00

14 lines
379 B
Plaintext

extends ./master.pug
block body
body(class='is-error')
.container
a(href='/'): img(src=config.site.path + '/images/logo.png')
h1= message
h2= t('errors:generic')
a.button.is-amber.is-inverted.is-featured(href=config.site.path+ '/')= t('errors:actions.gohome')
if error.stack
h3= t('errors:debugmsg')
pre: code #{error.stack}