Skip to content

Commit

Permalink
feat: ✨ image for head
Browse files Browse the repository at this point in the history
  • Loading branch information
BeiyanYunyi committed Sep 2, 2024
1 parent 18f16f4 commit e35f119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BlogPost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export type Props = {
const { title, slug, remarkPluginFrontmatter, description, tag, date, image } = Astro.props;
---

<BaseLayout title={title} description={description}>
<BaseLayout title={title} description={description} image={image?.src}>
<div class="flex">
<div class="flex-grow min-w-0">
<article class="prose prose-neutral dark:prose-invert max-w-full card overflow-clip">
Expand Down

0 comments on commit e35f119

Please sign in to comment.