Made error page look more fancy

This commit is contained in:
Esther 2020-06-22 17:42:04 +01:00
parent 88128de110
commit 58c9e84f78
No known key found for this signature in database
GPG Key ID: 162A307C5EBD40EA
2 changed files with 33 additions and 3 deletions

View File

@ -0,0 +1,4 @@
$(document).ready(function () {
var eCode = $("#error-code h2").text();
$(document).attr("title", "ESTR // " + eCode);
});

View File

@ -1,6 +1,32 @@
extends layout
block nav-links
li.nav-item
a.nav-link(href='/')
span Home
li.nav-item
a.nav-link(href='#')
span About
li.nav-item
a.nav-link(href='#')
span CV
li.nav-item
a.nav-link(href='https://git.pastel.codes/Blankie')
span Projects
li.nav-item
a.nav-link(href='https://blog.pastel.codes')
span Blog
li.nav-item
a.nav-link(href='#')
span Contact
block content
h1= message
h2= error.status
pre #{error.stack}
.center-v-h.ef
.error
h1= message
#error-code
h2= error.status
//pre #{error.stack}
block scripts
script(src="/javascript/error.js")