Skip to content

Commit

Permalink
feat(404): add custom 404 page
Browse files Browse the repository at this point in the history
Add a custom 404 page with a title, layout, and content explaining that the requested page couldn't be found. Include a link to the home page.
  • Loading branch information
phodal committed Feb 22, 2024
1 parent c0b60f7 commit e7b79e4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
layout: default
title: 404
permalink: /404
nav_exclude: true
search_exclude: true
---

<h1>Page not found</h1>

<p>The page you requested could not be found. Try using the navigation {% if site.search_enabled != false %}or search {% endif %}to find what you're looking for or go to this <a href="{{ '/' | absolute_url }}">site's home page</a>.</p>

0 comments on commit e7b79e4

Please sign in to comment.