{#if view == 'list' || view == 'cozy'}
{/if}
{#if isImage(post.post.url)} {#if view == 'card' || view == 'cozy'} (loaded = true)} /> {/if} {:else if post.post.url} {/if} {#if post.post.body && !post.post.nsfw && view != 'compact'}
{/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))} {:else} {/if}
{/if}
{#if actions}
{ toast({ content: 'The post was edited successfully.', type: 'success', }) }} />
{/if}