From 1cb1c5acf924833448de0b8e20d98f4c8a5faa1e Mon Sep 17 00:00:00 2001 From: NGPixel Date: Mon, 12 Jun 2017 22:38:45 -0400 Subject: [PATCH] fix: Path with slash display issue in Not Found error page --- server/views/error-forbidden.pug | 2 +- server/views/error-notexist.pug | 4 ++-- server/views/error.pug | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/views/error-forbidden.pug b/server/views/error-forbidden.pug index 7ea3527d..48f4a50a 100644 --- a/server/views/error-forbidden.pug +++ b/server/views/error-forbidden.pug @@ -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') diff --git a/server/views/error-notexist.pug b/server/views/error-notexist.pug index 6ebb3f41..c2fcec02 100644 --- a/server/views/error-notexist.pug +++ b/server/views/error-notexist.pug @@ -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') diff --git a/server/views/error.pug b/server/views/error.pug index 30da1daf..91a410c0 100644 --- a/server/views/error.pug +++ b/server/views/error.pug @@ -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')