Skip to content

Commit

Permalink
feat(seo): add metadata.metadataBase with base url
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Oct 8, 2023
1 parent 9d61120 commit 5074c2c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const APP_DESCRIPTION =
const APP_URL = 'https://noisekun.mateusf.com'

export const metadata: Metadata = {
metadataBase: new URL(APP_URL),
title: APP_NAME,
applicationName: APP_NAME,
description: APP_DESCRIPTION,
Expand Down Expand Up @@ -51,15 +52,15 @@ export const metadata: Metadata = {
type: 'website',
title: APP_NAME,
description: APP_DESCRIPTION,
url: APP_URL,
images: `${APP_URL}/images/banner.png`
url: '/',
images: '/images/banner.png'
},
twitter: {
card: 'summary_large_image',
site: APP_URL,
site: '/',
title: APP_NAME,
description: APP_DESCRIPTION,
images: `${APP_URL}/images/banner.png`
images: '/images/banner.png'
}
}

Expand Down

0 comments on commit 5074c2c

Please sign in to comment.