forked from TryGhost/London
-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.hbs
27 lines (24 loc) · 832 Bytes
/
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
{{!< default}}
<header class="page-head error-head">
<h1 class="page-head-title">{{statusCode}}</h1>
<p class="page-head-description">{{message}}</p>
<a class="error-link" href="{{@site.url}}">Go to the front page →</a>
</header>
{{#if errorDetails}}
<div class="post-content-body">
<section class="error-stack">
<h3>Theme errors</h3>
<ul class="error-stack-list">
{{#foreach errorDetails}}
<li>
<em class="error-stack-function">{{{rule}}}</em>
{{#foreach failures}}
<p><span class="error-stack-file">Ref: {{ref}}</span></p>
<p><span class="error-stack-file">Message: {{message}}</span></p>
{{/foreach}}
</li>
{{/foreach}}
</ul>
</section>
</div>
{{/if}}