diff --git a/pages/posts/[...slug].vue b/pages/posts/[...slug].vue index 0a6f5e1..16ac4da 100644 --- a/pages/posts/[...slug].vue +++ b/pages/posts/[...slug].vue @@ -44,6 +44,12 @@ useHead(() => ({ content: url, }, ], + link: [ + { + rel: "canonical", + href: `https://blog.kzhrk.com${route.path}`, + }, + ], })); onMounted(() => {