fix: No undefined description

This commit is contained in:
Leni Aniva 2024-10-18 10:53:54 -07:00
parent a650a31ac4
commit 9a6c891671
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,6 @@
---
title: Placeholder 3
date: '2024-09-24'
description: "This is a placeholder description"
tags: []
series: ["placeholder"]
---

View File

@ -19,9 +19,11 @@
<a id="post-title" href="/post/{post.slug}">{post.title}</a>
{/if}
</h2>
<div>
<p class="text-gray-500 h-8">{post.description}</p>
</div>
{#if post?.description}
<div>
<p class="text-gray-500 h-8">{post.description}</p>
</div>
{/if}
<div class="flex flex-row justify-between" style="width: 100%">
<p class="text-gray-200 flex justify-center">
{#each (post?.tags ?? []) as tag, i}