Skip to content

Commit

Permalink
Create error template that has no main nav or footer.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Petrie committed Jul 27, 2016
1 parent 954c0bf commit 142957f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion site/404.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
layout: default
layout: error
permalink: /404.html
sitemap: false
---
Expand Down
23 changes: 23 additions & 0 deletions site/_layouts/error.html
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 142957f

Please sign in to comment.