{#if view == 'list' || view == 'compact'}
{/if}
{#if $userSettings.view == 'card'} {#if isImage(post.post.url)} (loaded = true)} /> {:else if post.post.url} {/if} {/if} {#if post.post.body && !post.post.nsfw && (view == 'list' || view == 'card')}
{#if post.post.body.length > (view == 'list' ? 200 : 600)}
{/if}
{/if}
{#if ($userSettings.view == 'list' || $userSettings.view == 'compact') && (post.post.thumbnail_url || isImage(post.post.url))}
{#if !$userSettings.expandImages || (post.post.thumbnail_url && !isImage(post.post.url))} {#if post.post.thumbnail_url} {/if} {:else} {#if post.post.thumbnail_url} {/if} {/if}
{/if}
{#if actions}
{ toast({ content: 'The post was edited successfully.', type: 'success', }) }} />
{/if}