Skip to content

Commit

Permalink
fix: add og:type back in
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Jan 7, 2024
1 parent 14292f5 commit 9dae098
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/runtime/nuxt/plugin/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default defineNuxtPlugin({
}, minimalPriority)

const seoMeta: UseSeoMetaInput = {
ogType: 'website',
ogUrl: () => canonicalUrl.value,
ogLocale: locale,
ogSiteName: siteConfig.name,
Expand All @@ -56,6 +57,7 @@ export default defineNuxtPlugin({
seoMeta.twitterCreator = id
seoMeta.twitterSite = id
}
// TODO server only for some tags
useSeoMeta(seoMeta, minimalPriority)
},
})

0 comments on commit 9dae098

Please sign in to comment.