|
|
@@ -76,6 +76,10 @@ export async function generateMetadata(): Promise<Metadata> {
|
|
|
const metaAdds = parseMetaAdds(config?.meta?.adds);
|
|
|
|
|
|
return {
|
|
|
+ // 정규 주소(canonical). './' 는 현재 경로로 해석되므로
|
|
|
+ // 쿼리스트링이 붙은 주소가 별도 페이지로 색인되는 것을 막는다.
|
|
|
+ metadataBase: new URL('https://antooza.com'),
|
|
|
+ alternates: { canonical: './' },
|
|
|
title: config?.basic?.siteName ?? '개미투자',
|
|
|
description: config?.meta?.description ?? '',
|
|
|
keywords: config?.meta?.keywords ?? '',
|