fix(seo): configure canonical links dynamically per page
This commit is contained in:
@@ -9,6 +9,9 @@ export async function generateMetadata({ params }: { params: Promise<{ lang: Loc
|
||||
return {
|
||||
title: dict.meta.work.title,
|
||||
description: dict.meta.work.desc,
|
||||
alternates: {
|
||||
canonical: `/${lang}/work`,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user