fix(404): noindex the error page instead of emitting a canonical to /404/
Deploy / build (push) Successful in 2m59s
Deploy / build (push) Successful in 2m59s
A canonical pointing at a URL that does not exist is worse than none. Normal pages are untouched (canonical still emitted, no robots meta).
This commit is contained in:
1 parent
874c434576
commit
8619e48271
2 files changed
+6
-1
No files matched your search
@@ -15,6 +15,7 @@ const fmt = (d: Date) =>
|
||||
<BaseLayout
|
||||
title="404 — Page Not Found — Mr Hoelee"
|
||||
description="That URL does not exist on this site. Search the posts or browse the archive."
|
||||
noindex
|
||||
>
|
||||
<h1>404 — container exited (code 1)</h1>
|
||||
<p>
|
||||
|
||||
Reference in new issue
Block a user