docs: match the open graph protocol markup (#8959)

This commit is contained in:
Israel Ortuño 2022-11-14 11:32:05 +01:00 committed by GitHub
parent 79d5634c69
commit 4915a39a90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -234,7 +234,7 @@ And then in your layout file, you might use the route's metadata you have previo
const route = useRoute() const route = useRoute()
useHead({ useHead({
meta: [{ name: 'og:title', content: `App Name - ${route.meta.title}` }] meta: [{ property: 'og:title', content: `App Name - ${route.meta.title}` }]
}) })
</script> </script>
``` ```