mirror of
https://github.com/ViViDboarder/Vivid-Casper.git
synced 2024-12-22 19:47:38 +00:00
41 lines
1.2 KiB
Handlebars
41 lines
1.2 KiB
Handlebars
{{!--
|
|
|
|
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.
|
|
|
|
The 404 error is the most common error that a visitor might see, for example when
|
|
following a broken link
|
|
|
|
Keep this template as lightweight as you can!
|
|
|
|
--}}
|
|
|
|
{{!< default}}
|
|
{{!-- The tag above means: insert everything in this file
|
|
into the {body} of the default.hbs template --}}
|
|
|
|
<header class="site-header">
|
|
<div class="outer site-nav-main">
|
|
<div class="inner">
|
|
{{> "site-nav"}}
|
|
</div>
|
|
</div>
|
|
</header>
|
|
|
|
<main id="site-main" class="site-main outer error-content">
|
|
<div class="inner">
|
|
<section class="error-message">
|
|
<h1 class="error-code">{{statusCode}}</h1>
|
|
<p class="error-description">{{message}}</p>
|
|
<a class="error-link" href="{{@site.url}}">Go to the front page →</a>
|
|
</section>
|
|
|
|
{{#get "posts" limit="3" include="authors,tags"}}
|
|
<div class="post-feed">
|
|
{{#foreach posts}}
|
|
{{> "post-card"}}
|
|
{{/foreach}}
|
|
</div>
|
|
{{/get}}
|
|
</div>
|
|
</main> |