-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror.hbs
More file actions
45 lines (35 loc) · 1.04 KB
/
error.hbs
File metadata and controls
45 lines (35 loc) · 1.04 KB
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
<!DOCTYPE html>
<html lang="{{@site.locale}}">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{{asset "built/index.css"}}" />
<script src="{{asset "built/index.js"}}" defer></script>
<title>{{meta_title}}</title>
{{ghost_head}}
</head>
<body class="{{body_class}}">
<main class="prose text-center mx-auto my-10">
<h1>{{statusCode}}</h1>
<p>{{message}}</p>
<p><a href="{{@site.url}}">Go to the home page →</a></p>
{{#if errorDetails}}
<section>
<h4>Theme errors:</h4>
<ul>
{{#foreach errorDetails}}
<li>
<h5>{{{rule}}}</h5>
{{#foreach failures}}
<span><strong>Ref:</strong> {{ref}}</span><br>
<span><strong>Message:</strong> {{message}}</span>
{{/foreach}}
</li>
{{/foreach}}
</ul>
</section>
{{/if}}
</main>
{{ghost_foot}}
</body>
</html>