Skip to content

Commit

Permalink
REMOVE SCHEMAORG
Browse files Browse the repository at this point in the history
  • Loading branch information
al committed Jul 1, 2024
1 parent e63ad26 commit dc6054d
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,38 +5,31 @@
<script setup>
import { ref } from 'vue'
import { useHeadSafe } from '@unhead/vue'
import ogImageSrc from '@/assets/images/lionel-1.jpg'
// import { SchemaOrgUnheadPlugin } from '@unhead/schema-org'
import ogImageSrc from '@/assets/images/lionel-1b.jpg'
const ogImageUrl = ref(ogImageSrc)
useHeadSafe({
htmlAttrs: { lang: 'en' },
meta: [
{ name: 'charset', content: 'UTF-8' },
{ name: 'description', content: 'Kit cat' },
{ name: 'keywords', content: 'a, b' },
{
name: 'description',
content: `
Lionel was killed by a driver who failed to stop. Jersey’s law has changed and drivers are
now required to report collisions involving cats. Failure to do so is a punishable offence
`,
},
{ name: 'keywords', content: 'Jersey, Cat, Road Safety' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1.0' },
{ property: 'og:image', content: ogImageUrl },
],
templateParams: {
separator: '|',
siteName: "Lionel's Legacy",
schemaOrg: {
host: 'https://example.com',
},
siteName: "Lionel's Legacy Jersey",
},
titleTemplate: '%s %separator %siteName',
})
// useSchemaOrg([
// // @todo Select Identity: http://unhead.unjs.io/schema-org/recipes/identity
// defineWebSite({
// name: 'My Awesome Website',
// }),
// defineWebPage(),
// ])
</script>

<style scoped></style>

0 comments on commit dc6054d

Please sign in to comment.