Adds 404 page.
This commit is contained in:
parent
ec2c6f5b05
commit
e3f3bc1cf2
2 changed files with 12 additions and 2 deletions
12
404.md
Normal file
12
404.md
Normal 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 %}
|
|
@ -4,7 +4,5 @@ tags:
|
|||
- nav
|
||||
navtitle: Home
|
||||
---
|
||||
|
||||
{% set postslist = collections.posts %}
|
||||
{% include "postslist.njk" %}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue