aboutsummaryrefslogtreecommitdiff
path: root/website/src/pages/blog
diff options
context:
space:
mode:
Diffstat (limited to 'website/src/pages/blog')
-rw-r--r--website/src/pages/blog/[slug].astro2
1 files changed, 2 insertions, 0 deletions
diff --git a/website/src/pages/blog/[slug].astro b/website/src/pages/blog/[slug].astro
index 10939fd0..1de8df6a 100644
--- a/website/src/pages/blog/[slug].astro
+++ b/website/src/pages/blog/[slug].astro
@@ -25,6 +25,8 @@ const sectionHeadings = headings.filter((heading) => heading.depth === 2);
description={post.data.description}
canonicalPath={`/blog/${slug}/`}
ogType="article"
+ ogImage={post.data.ogImage}
+ ogImageAlt={post.data.ogImage ? post.data.title : undefined}
>
<main class="content-shell">
<div class="article-layout section">