mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
c48f06702c
closes https://github.com/TryGhost/Ghost/issues/8270 - add `.jpeg` to the list of asset extensions that get fingerprinted - remove the use of the `{{gh-path "asset" ...}}` helper - since switching to hash-location URLs all assets can now be referenced relatively and removing usage of the helper prevents it getting in the way of ember-cli's asset fingerprinting/rewriting mechanism
28 lines
1.0 KiB
Handlebars
28 lines
1.0 KiB
Handlebars
<div class="gh-view">
|
|
<section class="error-content error-404 js-error-container">
|
|
<section class="error-details">
|
|
<img class="error-ghost" src="assets/img/404-ghost@2x.png" srcset="assets/img/404-ghost.png 1x, assets/img/404-ghost@2x.png 2x" />
|
|
<section class="error-message">
|
|
<h1 class="error-code">{{code}}</h1>
|
|
<h2 class="error-description">{{message}}</h2>
|
|
</section>
|
|
</section>
|
|
</section>
|
|
|
|
{{#if stack}}
|
|
<section class="error-stack">
|
|
<h3>Stack Trace</h3>
|
|
<p><strong>{{message}}</strong></p>
|
|
<ul class="error-stack-list">
|
|
{{#each stack as |item|}}
|
|
<li>
|
|
at
|
|
{{#if item.function}}<em class="error-stack-function">{{item.function}}</em>{{/if}}
|
|
<span class="error-stack-file">({{item.at}})</span>
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|
|
</section>
|
|
{{/if}}
|
|
</div>
|