forked from ProjectSegfault/website
fix some blog stuff
This commit is contained in:
parent
53fcb5954c
commit
03a19fff53
@ -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">
|
||||||
|
{#if data.post.feature_image}
|
||||||
<img
|
<img
|
||||||
src={data.post.feature_image}
|
src={data.post.feature_image}
|
||||||
alt="{data.post.title} image"
|
alt="{data.post.title} image"
|
||||||
class="rounded"
|
class="rounded"
|
||||||
/>
|
/>
|
||||||
|
{/if}
|
||||||
{@html data.post.html}
|
{@html data.post.html}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user