This repository was archived by the owner on Jan 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy patherror.hbs
More file actions
50 lines (47 loc) · 1.65 KB
/
error.hbs
File metadata and controls
50 lines (47 loc) · 1.65 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
46
47
48
49
50
{{!< default}}
<section class="w-full max-w-screen-xl mx-auto my-0">
<section class="gh-error-content">
<h1 class="gh-error-code">
{{statusCode}}
</h1>
<p class="gh-error-description">
{{message}}
</p>
<p class="gh-error-link">
<a href="{{@site.url}}">
Go to the front page →
</a>
</p>
{{#if errorDetails}}
<section class="gh-error-stack">
<h4>
Theme errors:
</h4>
<ul class="gh-error-stack-list">
{{#foreach errorDetails}}
<li>
<h5 class="gh-error-stack-function">
{{{rule}}}
</h5>
{{#foreach failures}}
<span class="gh-error-stack-file">
<strong>
Ref:
</strong>
{{ref}}
</span>
<br />
<span class="gh-error-stack-file">
<strong>
Message:
</strong>
{{message}}
</span>
{{/foreach}}
</li>
{{/foreach}}
</ul>
</section>
{{/if}}
</section>
</section>