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