Skip to content

Commit

Permalink
fix(SEO): use correct attribute names
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Oct 28, 2022
1 parent 78b8271 commit d550e71
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,34 +135,34 @@
HEAD.link.push({
hid: 'canonical',
name: 'canonical',
content: RESOLVED_CANONICAL_ROUTE.href
rel: 'canonical',
href: RESOLVED_CANONICAL_ROUTE.href
})
// OG Image
HEAD.meta.push({
hid: 'og:image',
name: 'og:image',
property: 'og:image',
content: `https://url-shot.api-point.cf/?width=1200&height=630&url=${ encodeURI(
ABSOLUTE_URL
) }`
})
HEAD.meta.push({
hid: 'og:image:width',
name: 'og:image:width',
property: 'og:image:width',
content: 1200
})
HEAD.meta.push({
hid: 'og:image:height',
name: 'og:image:height',
property: 'og:image:height',
content: 630
})
HEAD.meta.push({
hid: 'og:image:type',
name: 'og:image:type',
property: 'og:image:type',
content: 'image/png'
})
Expand Down

0 comments on commit d550e71

Please sign in to comment.