Skip to content

Commit

Permalink
feat: thumbnail in BlogPost
Browse files Browse the repository at this point in the history
  • Loading branch information
EATSTEAK committed Dec 5, 2024
1 parent 05c4d9e commit 1371f42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/BlogPost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const {
description,
pubDate,
updatedDate,
heroImage,
thumbnail,
category,
topics,
minutesRead,
Expand Down Expand Up @@ -77,7 +77,7 @@ const toc = buildToc(headings);
>
<article class="self-center w-full max-w-screen-md pb-16">
<section class="mb-2 image min-h-[16rem]">
{heroImage && <img class="max-w-100%" src={heroImage} alt=""/>}
{thumbnail && <img class="max-w-100%" src={thumbnail} alt=""/>}
</section>
<section class="prose">
<div class="title mb-8">
Expand Down

0 comments on commit 1371f42

Please sign in to comment.