Use generated OG images for blog posts
This commit is contained in:
parent
3129978c8c
commit
dd097688c4
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ const post = Astro.props;
|
||||||
const { Content, headings } = await render(post);
|
const { Content, headings } = await render(post);
|
||||||
---
|
---
|
||||||
|
|
||||||
<Layout title={post.data.title} description={post.data.description ?? ""}>
|
<Layout title={post.data.title} description={post.data.description ?? ""} image={`/og-${post.id}.png`}>
|
||||||
<Container>
|
<Container>
|
||||||
<div class="animate">
|
<div class="animate">
|
||||||
<BackToPrevious href="/blog">Back to blog</BackToPrevious>
|
<BackToPrevious href="/blog">Back to blog</BackToPrevious>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue