Refactor OG image generation in various pages and update package dependencies
This commit is contained in:
@@ -75,14 +75,14 @@ useHead({
|
||||
})
|
||||
|
||||
// Generate OG Image
|
||||
// const siteData = useSiteConfig()
|
||||
// defineOgImage({
|
||||
// props: {
|
||||
// title: 'Archive',
|
||||
// description: 'Here you will find all the blog posts I have written & published on this site.',
|
||||
// siteName: siteData.url,
|
||||
// },
|
||||
// })
|
||||
const siteData = useSiteConfig()
|
||||
defineOgImage({
|
||||
props: {
|
||||
title: 'Archive',
|
||||
description: 'Here you will find all the blog posts I have written & published on this site.',
|
||||
siteName: siteData.url,
|
||||
},
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user