{#if view == 'list' || view == 'cozy'}
{/if}
{#if post.post.embed_title != post.post.name || view == 'compact'} {/if}
{#if isImage(post.post.url)} {#if view == 'card' || view == 'cozy'} (loaded = true)} /> (loaded = true)} /> {/if} {:else if isVideo(post.post.url) && (view == 'cozy' || view == 'card')}
Video

Go to the post to view this video.

{:else if post.post.url} {/if} {#if post.post.body && !post.post.nsfw && view != 'compact'}
{/if}
{#if (view == 'list' || view == 'compact') && !post.post.embed_title && (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}