Refactor OG image generation in various pages and update package dependencies
This commit is contained in:
@@ -31,15 +31,15 @@ useHead({
|
||||
})
|
||||
|
||||
// Generate OG Image
|
||||
// const siteData = useSiteConfig()
|
||||
// defineOgImage({
|
||||
// props: {
|
||||
// title: 'Categories',
|
||||
// description:
|
||||
// 'Below All the topics are listed on which either I have written a blog or will write a blog in near future.',
|
||||
// siteName: siteData.url,
|
||||
// },
|
||||
// })
|
||||
const siteData = useSiteConfig()
|
||||
defineOgImage({
|
||||
props: {
|
||||
title: 'Categories',
|
||||
description:
|
||||
'Below All the topics are listed on which either I have written a blog or will write a blog in near future.',
|
||||
siteName: siteData.url,
|
||||
},
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user