Skip to content

Commit

Permalink
meta: image info for social media
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronczichon committed Apr 12, 2024
1 parent f0b47a5 commit 6ab6035
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion personal/src/pages/blog/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ const averageWPM = 200; // Adjust according to your audience's reading speed
const readingTime = Math.ceil(wordCount / averageWPM);
---

<Layout title={"Aaron Czichon - Blog - " + entry.data.title}>
<Layout
title={"Aaron Czichon - Blog - " + entry.data.title}
imgUrl={entry.data.image?.src || ""}
>
{
entry.data.image ? (
entry.data.image.src ? (
Expand Down

0 comments on commit 6ab6035

Please sign in to comment.