fix(seo): configure canonical links dynamically per page

This commit is contained in:
mstfyldz
2026-05-30 22:14:59 +03:00
parent 7872e8862d
commit 2c24229caa
14 changed files with 37 additions and 5 deletions
+3
View File
@@ -9,6 +9,9 @@ export async function generateMetadata({ params }: { params: Promise<{ lang: Loc
return {
title: dict.meta.blog.title,
description: dict.meta.blog.desc,
alternates: {
canonical: `/${lang}/blog`,
},
};
}