diff --git a/app/components/BlogPostWrapper.vue b/app/components/BlogPostWrapper.vue index 7d1e0d62c..370f51eb4 100644 --- a/app/components/BlogPostWrapper.vue +++ b/app/components/BlogPostWrapper.vue @@ -13,6 +13,12 @@ useSeoMeta({ ogType: 'article', }) +defineOgImageComponent('BlogPost', { + title: props.frontmatter.title, + authors: props.frontmatter.authors, + date: props.frontmatter.date, +}) + const slug = computed(() => props.frontmatter.slug) // Use Constellation to find the Bluesky post linking to this blog post diff --git a/app/components/OgImage/BlogPost.vue b/app/components/OgImage/BlogPost.vue new file mode 100644 index 000000000..b52f9dc1b --- /dev/null +++ b/app/components/OgImage/BlogPost.vue @@ -0,0 +1,142 @@ + + +