Skip to content

Commit 6863530

Browse files
committed
fix: 404.html
Problem: `content/404.html` generates `404/index.html`, which github will not automatically use as the 404 page. Solution: Move to layouts/.
1 parent f7a39fd commit 6863530

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

content/404.html renamed to layouts/404.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
---
2-
layout: default
3-
title: Page Not Found
4-
canonical_url: /404.html
5-
permalink: /404.html
6-
---
1+
{{ define "main" }}
72

83
<div style="padding: 3rem 0; min-height: 60vh; display: flex; align-items: center;">
94
<div class="container">
@@ -78,3 +73,5 @@ <h1>Page Not Found</h1>
7873
}
7974
}
8075
</style>
76+
77+
{{ end }}

0 commit comments

Comments
 (0)