forked from godofredoninja/simply
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.hbs
27 lines (26 loc) · 1.24 KB
/
error.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<title>Page not found - {{meta_title}}</title>
<link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="{{asset "styles/main.css"}}" />
</head>
<body>
<div class="errorPage u-relative">
<div class="errorPage-title">
<a class="errorPage-link u-relative u-fontSize22 u-contentTitle u-block" href="{{@blog.url}}">{{@blog.title}}</a>
</div>
<div class="errorPage-wrap u-textAlignCenter">
<div id="emoji" class="errorPage-emoji" style="font-size: 150px;">(>_<)</div>
<div class="errorPage-text">Unfortunately, this page doesn't exist</div>
</div>
</div>
<script type="text/javascript">
var emoji = ['(·.·)', '(>_<)', '(^-^*)', '(≥o≤)', '(˚Δ˚)', '(·_·)', '(;-;)']
var emojiRandom = emoji[Math.floor(Math.random()*emoji.length)];
document.getElementById('emoji').innerHTML = emojiRandom;
</script>
</body>
</html>