-
Notifications
You must be signed in to change notification settings - Fork 4
/
error.hbs
50 lines (40 loc) · 1.25 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
{{!< default}}
<header class="site-heading bg-alternative">
<div class="container">
<div class="row align-items-center">
<div class="site-heading-content col-lg-6 text-center text-lg-start mb-4 mb-lg-0">
<h1 class="fw-bold">{{statusCode}}</h1>
<p class="lead mb-0">
{{message}}
</p>
</div>
</div>
</div>
</header>
{{#if errorDetails}}
<section class="gh-content gh-canvas mt-5">
<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}}
{{#get "posts" filter="tags:hash-pinned" as |pinned|}}
<div class="py-5">
<div class="container">
<div class="row">
{{#foreach pinned}}
{{> "card"}}
{{/foreach}}
</div>
</div>
</div>
{{/get}}