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

pull/166/head
NGPixel 8 years ago committed by Nicolas Giard
parent 879ca63be5
commit 1cb1c5acf9

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

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

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

Loading…
Cancel
Save