{#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)} (loaded = true)} /> {:else if post.post.thumbnail_url && post.post.url} {/if} {#if post.post.body && !post.post.nsfw}
350 ? `${post.post.body.slice(0, 350)}...` : post.post.body} />
{/if} {/if} {#if actions} { toast({ content: 'The post was edited successfully.', type: 'success', }) }} /> {/if}