Skip to content

Commit cb277d9

Browse files
committed
docs: add 404 page
The new 404 page provides a clear and concise message to users when they attempt to access a non-existent page, enhancing the user experience and guiding them to the home page or search functionality.
1 parent 68a0c4f commit cb277d9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/404.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
layout: default
3+
title: 404
4+
permalink: /404
5+
nav_exclude: true
6+
search_exclude: true
7+
---
8+
9+
<h1>Page not found</h1>
10+
11+
<p>The page you requested could not be found. Try using the navigation {% if site.search_enabled != false %}or search {%
12+
endif %}to find what you're looking for or go to this <a href="{{ '/' | relative_url }}">site's home page</a>.</p>

0 commit comments

Comments
 (0)