fix: Path with slash display issue in Not Found error page

This commit is contained in:
NGPixel 2017-06-12 22:38:45 -04:00 committed by Nicolas Giard
parent 879ca63be5
commit 1cb1c5acf9
3 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@ html(data-logic='error')
link(rel='manifest', href='/manifest.json')
// JS / CSS
//- script(type='text/javascript', src='/js/libs.min.js')
script(type='text/javascript', src='/js/vendor.min.js')
script(type='text/javascript', src='/js/app.min.js')
body(class='is-forbidden')

View File

@ -18,13 +18,13 @@ html(data-logic='error')
link(rel='manifest', href='/manifest.json')
// JS / CSS
//- script(type='text/javascript', src='/js/libs.min.js')
script(type='text/javascript', src='/js/vendor.min.js')
script(type='text/javascript', src='/js/app.min.js')
body(class='is-notexist')
.container
a(href='/'): img(src='/images/logo.png')
h1= message
h1 !{message}
h2= t('errors:notexistdetail')
a.button.is-amber.is-inverted.is-featured(href='/create/' + newpath)= t('errors:actions.create')
a.button.is-amber.is-inverted(href='/')= t('errors:actions.gohome')

View File

@ -18,7 +18,7 @@ html(data-logic='error')
link(rel='manifest', href='/manifest.json')
// JS / CSS
//- script(type='text/javascript', src='/js/libs.min.js')
script(type='text/javascript', src='/js/vendor.min.js')
script(type='text/javascript', src='/js/app.min.js')
body(class='is-error')