fix some blog stuff

This commit is contained in:
Akis 2023-04-01 21:36:04 +03:00
parent 53fcb5954c
commit 03a19fff53
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED

View File

@ -2,11 +2,13 @@
export let data: any; export let data: any;
</script> </script>
<div class="prose flex flex-col text-justify m-auto"> <div class="prose flex flex-col m-auto">
<img {#if data.post.feature_image}
src={data.post.feature_image} <img
alt="{data.post.title} image" src={data.post.feature_image}
class="rounded" alt="{data.post.title} image"
/> class="rounded"
/>
{/if}
{@html data.post.html} {@html data.post.html}
</div> </div>