Skip to content

Commit 12ec713

Browse files
committed
add canonical tags
1 parent f69d5ea commit 12ec713

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/[[...slug]]/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ export async function generateMetadata(
8484
if (!page) notFound();
8585

8686
return {
87+
alternates: {canonical: page.url},
8788
title: page.data.title,
8889
description: page.data.description,
8990
openGraph: {

0 commit comments

Comments
 (0)