{#if $userSettings.showCompactPosts && (post.post.thumbnail_url || isImage(post.post.url))} {/if}
{#if !$userSettings.showCompactPosts} {#if post.post.url && !post.post.thumbnail_url} {post.post.url} {/if} {#if isImage(post.post.url)}
{:else if post.post.thumbnail_url && post.post.url} {/if} {#if post.post.body && !post.post.nsfw}

200 ? `${post.post.body.slice(0, 200)}...` : post.post.body} />

{/if} {/if} {#if actions} { post.post.name = e.detail.post.name post.post.body = e.detail.post.body post.post.url = e.detail.post.url toast({ content: 'The post was edited successfully.', type: ToastType.success, }) }} /> {/if}