mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-29 09:02:03 +00:00
docs: match the open graph protocol markup (#8959)
This commit is contained in:
parent
79d5634c69
commit
4915a39a90
@ -234,7 +234,7 @@ And then in your layout file, you might use the route's metadata you have previo
|
||||
const route = useRoute()
|
||||
|
||||
useHead({
|
||||
meta: [{ name: 'og:title', content: `App Name - ${route.meta.title}` }]
|
||||
meta: [{ property: 'og:title', content: `App Name - ${route.meta.title}` }]
|
||||
})
|
||||
</script>
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user