Skip to content

Commit

Permalink
Add custom 404
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneCurcuru committed Aug 30, 2023
1 parent 9b2eda8 commit 17e00ca
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions _data/foundations-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
],
"properties": {
"identifier": {
"section": "general",
"title": "Used as filename or fragment reference",
"description": "Common name; lowercased; used for lookups.",
"type": "string"
Expand Down
12 changes: 12 additions & 0 deletions _pages/404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: default
title: 404 Page Not Found
excerpt: Page not found. We haven't found it either!
permalink: /404
nav_exclude: true
search_exclude: true
---

<h1>Error: 404 Page not found</h1>

<p>Sorry, we haven't written about that topic yet! Try using the navigation on the left {% if site.search_enabled != false %}or search {% endif %}to find what you're looking for or go to this <a href="{{ '/' | relative_url }}">site's home page</a>.</p>

0 comments on commit 17e00ca

Please sign in to comment.