fix: use open graph images on `elk.zone`
parent
cd490fffec
commit
dcec32338c
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://main.elk.zone${route.path}` },
|
{ property: 'og:url', content: `https://elk.zone${route.path}` },
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -122,7 +122,7 @@ export default defineNuxtConfig({
|
||||||
{ property: 'og:title', content: 'Elk' },
|
{ property: 'og:title', content: 'Elk' },
|
||||||
{ property: 'og:description', content: 'A nimble Mastodon web client' },
|
{ property: 'og:description', content: 'A nimble Mastodon web client' },
|
||||||
{ property: 'og:type', content: 'website' },
|
{ property: 'og:type', content: 'website' },
|
||||||
{ property: 'og:image', content: 'https://main.elk.zone/elk-og.png' },
|
{ property: 'og:image', content: 'https://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