2021-03-04 01:22:45 +00:00
|
|
|
{{!< default}}
|
|
|
|
|
2017-08-10 13:34:23 +00:00
|
|
|
{{!--
|
|
|
|
|
2021-03-03 13:11:16 +00:00
|
|
|
There are two error files in this theme, one for 404s and one for all other errors.
|
|
|
|
This file is the former, and handles all 404 Page Not Found errors.
|
2017-08-10 13:34:23 +00:00
|
|
|
|
2021-03-03 13:11:16 +00:00
|
|
|
The 404 error is the most common error that a visitor might see, for example when
|
|
|
|
following a broken link
|
2017-08-10 13:34:23 +00:00
|
|
|
|
2021-03-03 13:11:16 +00:00
|
|
|
Keep this template as lightweight as you can!
|
|
|
|
|
2017-08-10 13:34:23 +00:00
|
|
|
--}}
|
|
|
|
|
2021-03-04 01:22:45 +00:00
|
|
|
<section class="outer error-content">
|
2019-10-28 15:28:25 +00:00
|
|
|
<div class="inner">
|
|
|
|
<section class="error-message">
|
|
|
|
<h1 class="error-code">{{statusCode}}</h1>
|
|
|
|
<p class="error-description">{{message}}</p>
|
2020-12-04 01:45:04 +00:00
|
|
|
<a class="error-link" href="{{@site.url}}">{{t "Go to the front page"}} →</a>
|
2019-10-28 15:28:25 +00:00
|
|
|
</section>
|
2021-03-04 22:22:45 +00:00
|
|
|
</div>
|
|
|
|
</section>
|
2017-08-10 13:34:23 +00:00
|
|
|
|
2021-03-04 22:22:45 +00:00
|
|
|
{{!-- Given that people landing on this page didn't find what they
|
|
|
|
were looking for, let's give them some alternative stuff to read. --}}
|
|
|
|
<aside class="read-more-wrap">
|
|
|
|
<div class="read-more inner">
|
|
|
|
{{#get "posts" include="authors" limit="3" as |more_posts|}}
|
|
|
|
{{#if more_posts}}
|
|
|
|
{{#foreach more_posts}}
|
|
|
|
{{> "post-card"}}
|
2019-10-28 15:28:25 +00:00
|
|
|
{{/foreach}}
|
2021-03-04 22:22:45 +00:00
|
|
|
{{/if}}
|
2017-08-10 13:34:23 +00:00
|
|
|
{{/get}}
|
|
|
|
</div>
|
2021-03-04 22:22:45 +00:00
|
|
|
</aside>
|