Adds 404 page.

This commit is contained in:
Zach Leatherman 2018-08-23 17:50:54 -05:00
parent ec2c6f5b05
commit e3f3bc1cf2
2 changed files with 12 additions and 2 deletions

12
404.md Normal file
View File

@ -0,0 +1,12 @@
---
layout: layouts/home.njk
permalink: 404.html
---
# Content not found.
{% comment %}
This will work for both GitHub pages and Netlify:
* https://help.github.com/articles/creating-a-custom-404-page-for-your-github-pages-site/
* https://www.netlify.com/docs/redirects/#custom-404
{% endcomment %}

View File

@ -4,7 +4,5 @@ tags:
- nav
navtitle: Home
---
{% set postslist = collections.posts %}
{% include "postslist.njk" %}