PageRenderTime 15ms CodeModel.GetById 10ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/core/server/views/error.hbs

https://github.com/donaminos/Ghost
Handlebars | 27 lines | 26 code | 0 blank | 1 comment | 0 complexity | f6af8fa9834c21a5d5607d960a3ab268 MD5 | raw file
 1{{!< default}}
 2<section class="error-content error-404 js-error-container">
 3    <section class="error-details">
 4        <figure class="error-image">
 5            <img class="error-ghost" src="{{asset "img/404-ghost@2x.png" ghost="true"}}" srcset="{{asset "img/404-ghost.png" ghost="true"}} 1x, {{asset "img/404-ghost@2x.png" ghost="true"}} 2x"/>
 6        </figure>
 7        <section class="error-message">
 8            <h1 class="error-code">{{code}}</h1>
 9            <h2 class="error-description">{{message}}</h2>
10        </section>
11    </section>
12</section>
13{{#if stack}}
14    <section class="error-stack">
15        <h3>Stack Trace</h3>
16        <p><strong>{{message}}</strong></p>
17        <ul class="error-stack-list">
18            {{#foreach stack}}
19                <li>
20                    at
21                    {{#if function}}<em class="error-stack-function">{{function}}</em>{{/if}}
22                    <span class="error-stack-file">({{at}})</span>
23                </li>
24            {{/foreach}}
25        </ul>
26    </section>
27{{/if}}