Create error template that has no main nav or footer.

This commit is contained in:
Adam Petrie 2016-07-27 19:08:37 -04:00
parent 954c0bfe07
commit 142957ff49
2 changed files with 24 additions and 1 deletions

View File

@ -1,5 +1,5 @@
---
layout: default
layout: error
permalink: /404.html
sitemap: false
---

23
site/_layouts/error.html Normal file
View File

@ -0,0 +1,23 @@
{% include top.html %}
<body class="wrap">
<header>
<div class="grid">
<div class="unit whole align-center">
<h1>
<a href="/">
<span class="sr-only">Jekyll</span>
<img src="/img/logo-2x.png" width="249" height="115" alt="Jekyll Logo">
</a>
</h1>
</div>
</div>
</header>
{{ content }}
{% include anchor_links.html %}
{% include analytics.html %}
</body>
</html>