-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
error.hbs
executable file
·63 lines (56 loc) · 2.2 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{statusCode}} - {{message}} | {{@site.title}} - {{@site.description}}</title>
{{> "meta"}}
{{> "fonts"}}
<link rel="stylesheet" type="text/css" href="{{asset "css/vendor.css"}}" media="all" />
<link rel="stylesheet" type="text/css" href="{{asset "css/index.css"}}" media="all" />
{{!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --}}
<!--[if lt IE 9]>
<script rel="dns-prefetch" src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
<script rel="dns-prefetch" src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
{{ghost_head}}
</head>
<body class="{{body_class}}">
<div id="content-wrapper" class="container">
{{> "header"}}
<main role="main">
<div class="gh-app">
<div class="gh-viewport">
<div class="gh-view">
<section class="error-content error-404 js-error-container text-center">
<section class="error-details">
<section class="error-message">
<h1 class="error-code"><i class="fas fa-bomb"></i> {{statusCode}} <i class="fas fa-bomb"></i></h1>
<h2 class="error-description">{{message}}</h2>
<a class="error-link" href="{{@site.url}}">Go back →</a>
</section>
</section>
</section>
{{#if stack}}
<section class="error-stack">
<h3>Stack Trace</h3>
<p><strong>{{message}}</strong></p>
<ul class="error-stack-list">
{{#foreach stack}}
<li>
at
{{#if function}}<em class="error-stack-function">{{function}}</em>{{/if}}
<span class="error-stack-file">({{at}})</span>
</li>
{{/foreach}}
</ul>
</section>
{{/if}}
</div>
</div>
</div>
</main>
{{> "footer"}}
</div>
<script src="{{asset "js/index.js"}}"></script>
{{ghost_foot}}
</body>
</html>