Skip to content

Commit

Permalink
Add 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed Oct 6, 2021
1 parent 44545c0 commit fd74bf8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"private": true,
"license": "MIT",
"scripts": {
"build": "rm -rf _site dist; eleventy; cp _site/docs/index.html _site/index.html; parcel build _site/index.html _site/docs/index.html '_site/*/*/*.html' --public-url $(node public-url.js)",
"build": "rm -rf _site dist; eleventy; cp _site/docs/index.html _site/index.html; parcel build '_site/*.html' _site/docs/index.html '_site/*/*/*.html' --public-url $(node public-url.js)",
"watch": "eleventy --watch",
"serve": "parcel _site/index.html _site/docs/index.html '_site/*/*/*.html'",
"serve": "parcel '_site/*.html' _site/docs/index.html '_site/*/*/*.html'",
"start": "run-p watch serve",
"debug": "DEBUG=* eleventy",
"lint": "prettier --write 'generate-api-docs/*.js' 'src/**/*.{js,json,md,scss}'",
Expand Down
7 changes: 7 additions & 0 deletions src/404.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: 404 Not Found
permalink: 404.html
layout: layout.njk
---

<p>Maybe try the <a href="/">home page</a>?</p>

0 comments on commit fd74bf8

Please sign in to comment.