chore: test open graph on edge
parent
3a66944080
commit
3add7a5f40
2
app.vue
2
app.vue
|
@ -6,7 +6,7 @@ const route = useRoute()
|
||||||
if (process.server && !route.path.startsWith('/settings')) {
|
if (process.server && !route.path.startsWith('/settings')) {
|
||||||
useHead({
|
useHead({
|
||||||
meta: [
|
meta: [
|
||||||
{ property: 'og:url', content: `https://elk.zone${route.path}` },
|
{ property: 'og:url', content: `https://main.elk.zone${route.path}` },
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -120,8 +120,9 @@ export default defineNuxtConfig({
|
||||||
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
|
{ name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent' },
|
||||||
// open graph social image
|
// open graph social image
|
||||||
{ property: 'og:title', content: 'Elk' },
|
{ property: 'og:title', content: 'Elk' },
|
||||||
|
{ property: 'og:description', content: 'A nimble Mastodon web client' },
|
||||||
{ property: 'og:type', content: 'website' },
|
{ property: 'og:type', content: 'website' },
|
||||||
{ property: 'og:image', content: 'https://elk.zone/elk-og.png' },
|
{ property: 'og:image', content: 'https://main.elk.zone/elk-og.png' },
|
||||||
{ property: 'og:image:width', content: '3800' },
|
{ property: 'og:image:width', content: '3800' },
|
||||||
{ property: 'og:image:height', content: '1900' },
|
{ property: 'og:image:height', content: '1900' },
|
||||||
{ property: 'og:site_name', content: 'Elk' },
|
{ property: 'og:site_name', content: 'Elk' },
|
||||||
|
|
Loading…
Reference in New Issue