Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit 8e397dd

Browse files
committed
Add 404.html to replace default Netlify error page
1 parent 7beea89 commit 8e397dd

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

source/404.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<html>
2+
<head><title>404 Not Found</title></head>
3+
<body>
4+
<center><h1>404 Not Found</h1></center>
5+
</body>
6+
</html>
7+

source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
html_permalinks = True
2020
html_permalinks_icon = u'§'
2121
html_baseurl = 'https://unit.nginx.org/'
22-
html_extra_path = ['robots.txt', 'CHANGES.txt', 'go']
22+
html_extra_path = ['robots.txt', 'CHANGES.txt', 'go', '404.html']
2323
html_context = {
2424
'release_date' : release_date,
2525
'author' : author,

0 commit comments

Comments
 (0)