Skip to content

Commit 8fa9961

Browse files
committed
fix: add og:title and og:description
1 parent ae6fa5b commit 8fa9961

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/composables/usePageSEO.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ export function usePageSEO(page: PageMeta) {
2626
ogURL.searchParams.set('description', page.description || appConfig.site.description || '')
2727

2828
useSeoMeta({
29+
ogTitle: page.title,
30+
ogDescription: page.description,
2931
ogImage: {
3032
url: ogURL.href,
3133
width: 1200,

0 commit comments

Comments
 (0)