Skip to content

Commit

Permalink
feat: seo
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Otter committed Jul 8, 2024
1 parent 5ddb499 commit 770664b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composables/useOpenGraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export async function useOpenGraph() {
title: page.value.title,
htmlAttrs: {
...page.value.head?.htmlAttrs,
lang
lang,
},
// OG: Image
image: {
Expand All @@ -70,6 +70,7 @@ export async function useOpenGraph() {
],
meta: [
...(page.value.head?.meta || []),
{ name: 'description', id: 'description', content: page.value.description },

// OG: Image
{ property: 'og:image', id: 'og:image', content: socialBanner },
Expand Down

0 comments on commit 770664b

Please sign in to comment.