2014-06-24 03:52:10 +04:00
|
|
|
<section class="error-content error-404 js-error-container">
|
|
|
|
<section class="error-details">
|
|
|
|
<figure class="error-image">
|
2014-09-25 15:05:55 +04:00
|
|
|
<img class="error-ghost" src="{{gh-path 'admin' '/img/404-ghost@2x.png'}}" srcset="{{gh-path 'admin' '/img/404-ghost.png'}} 1x, {{gh-path 'admin' '/img/404-ghost@2x.png'}} 2x" />
|
2014-06-24 03:52:10 +04:00
|
|
|
</figure>
|
|
|
|
<section class="error-message">
|
|
|
|
<h1 class="error-code">{{code}}</h1>
|
|
|
|
<h2 class="error-description">{{message}}</h2>
|
2014-08-19 21:06:35 +04:00
|
|
|
<a class="error-link" href="{{gh-path 'blog'}}">Go to the front page →</a>
|
2014-06-24 03:52:10 +04:00
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{#if stack}}
|
|
|
|
<section class="error-stack">
|
|
|
|
<h3>Stack Trace</h3>
|
|
|
|
<p><strong>{{message}}</strong></p>
|
|
|
|
<ul class="error-stack-list">
|
2014-12-06 00:54:42 +03:00
|
|
|
{{#each item in stack}}
|
2014-06-24 03:52:10 +04:00
|
|
|
<li>
|
|
|
|
at
|
2014-12-06 00:54:42 +03:00
|
|
|
{{#if item.function}}<em class="error-stack-function">{{item.function}}</em>{{/if}}
|
|
|
|
<span class="error-stack-file">({{item.at}})</span>
|
2014-06-24 03:52:10 +04:00
|
|
|
</li>
|
2014-07-15 23:52:44 +04:00
|
|
|
{{/each}}
|
2014-06-24 03:52:10 +04:00
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
{{/if}}
|