fix: No undefined description
This commit is contained in:
parent
a650a31ac4
commit
9a6c891671
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
title: Placeholder 3
|
title: Placeholder 3
|
||||||
date: '2024-09-24'
|
date: '2024-09-24'
|
||||||
description: "This is a placeholder description"
|
|
||||||
tags: []
|
tags: []
|
||||||
series: ["placeholder"]
|
series: ["placeholder"]
|
||||||
---
|
---
|
||||||
|
|
|
@ -19,9 +19,11 @@
|
||||||
<a id="post-title" href="/post/{post.slug}">{post.title}</a>
|
<a id="post-title" href="/post/{post.slug}">{post.title}</a>
|
||||||
{/if}
|
{/if}
|
||||||
</h2>
|
</h2>
|
||||||
|
{#if post?.description}
|
||||||
<div>
|
<div>
|
||||||
<p class="text-gray-500 h-8">{post.description}</p>
|
<p class="text-gray-500 h-8">{post.description}</p>
|
||||||
</div>
|
</div>
|
||||||
|
{/if}
|
||||||
<div class="flex flex-row justify-between" style="width: 100%">
|
<div class="flex flex-row justify-between" style="width: 100%">
|
||||||
<p class="text-gray-200 flex justify-center">
|
<p class="text-gray-200 flex justify-center">
|
||||||
{#each (post?.tags ?? []) as tag, i}
|
{#each (post?.tags ?? []) as tag, i}
|
||||||
|
|
Loading…
Reference in New Issue