Skip to content

Commit

Permalink
feat: use cover image when sharing in social media
Browse files Browse the repository at this point in the history
  • Loading branch information
danielorihuela committed Oct 20, 2024
1 parent 9b9a05c commit 6bcf700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/BlogPost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const { title, description, publishdate, updateddate, cover } = Astro.props;

<html lang="en">
<head>
<BaseHead title={title} description={description} />
<BaseHead title={title} description={description} image={cover.src}/>
<style>
main {
width: 100%;
Expand Down

0 comments on commit 6bcf700

Please sign in to comment.