Skip to content

Commit affed48

Browse files
committed
404 metadata & remove robots attributes
1 parent 2c0e969 commit affed48

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

src/app/not-found.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,19 @@ import { Metadata } from "next";
33

44
export const metadata: Metadata = {
55
title: "404 | Page not found",
6-
description: "404 | Page not found"
6+
applicationName: "Vortex",
7+
description: "404 | Page not found",
8+
openGraph: {
9+
title: "404 | Page not found",
10+
description: "404 | Page not found",
11+
siteName: "Vortex",
12+
url: "https://vortex.dev",
13+
type: "website",
14+
locale: "en_US"
15+
},
16+
alternates: {
17+
canonical: "https://vortex.dev"
18+
}
719
};
820

921
export default function NotFound() {

src/app/page.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ export const metadata: Metadata = {
1717
},
1818
alternates: {
1919
canonical: "https://vortex.dev"
20-
},
21-
robots: {
22-
index: true,
23-
follow: true
2420
}
2521
};
2622

0 commit comments

Comments
 (0)