mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2024-11-22 00:02:24 +00:00
Made error page look more fancy
This commit is contained in:
parent
88128de110
commit
58c9e84f78
4
public/javascript/error.js
Normal file
4
public/javascript/error.js
Normal file
@ -0,0 +1,4 @@
|
||||
$(document).ready(function () {
|
||||
var eCode = $("#error-code h2").text();
|
||||
$(document).attr("title", "ESTR // " + eCode);
|
||||
});
|
@ -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")
|
Loading…
Reference in New Issue
Block a user