-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.hbs
42 lines (36 loc) · 1.7 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<!--[if (IE 8)&!(IEMobile)]><html class="no-js lt-ie9" lang="en"><![endif]-->
<!--[if (gte IE 9)| IEMobile |!(IE)]><!--><html class="no-js" lang="en"><!--<![endif]-->
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Opps! We're having {{statusCode}} — {{message}}</title>
<meta name="HandheldFriendly" content="True">
<meta name="MobileOptimized" content="320">
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="shortcut icon" href="/favicon.ico">
<meta http-equiv="cleartype" content="on">
<link rel="stylesheet" type="text/css" href="{{asset "/css/bulma.css"}}">
<link rel="stylesheet" type="text/css" href="{{asset "/css/hkzclarity.css"}}">
{{ghost_head}}
</head>
<body id="error-{{statusCode}}">
<div id="error-screen" class="content has-text-centered">
<h1 id="error-code">{{statusCode}}</h1>
<h3 id="error-message">{{message}}</h3>
<a href="{{@site.url}}">Back To Civilization →</a>
</div>
{{#if stack}}
<div id="error-details" class="content">
<input type="checkbox" id="toggle-stack-trace"><label for="toggle-stack-trace">Stack Trace</label></a>
<ul id="error-stack">
{{#foreach stack}}
<li><p>at {{#if function}}<em>{{function}}</em>{{/if}} {{at}}</p></li>
{{/foreach}}
</ul>
</div>
{{/if}}
</body>
</html>