From 03a19fff539cd69f6bc5a470169ad187db5a8e07 Mon Sep 17 00:00:00 2001 From: Akis Date: Sat, 1 Apr 2023 21:36:04 +0300 Subject: [PATCH] fix some blog stuff --- src/lib/BlogCard/PostContent.svelte | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/lib/BlogCard/PostContent.svelte b/src/lib/BlogCard/PostContent.svelte index 75d47d0..6853528 100644 --- a/src/lib/BlogCard/PostContent.svelte +++ b/src/lib/BlogCard/PostContent.svelte @@ -2,11 +2,13 @@ export let data: any; -
- {data.post.title} image +
+ {#if data.post.feature_image} + {data.post.title} image + {/if} {@html data.post.html}