{post.post_view.post.name} {#if isImage(post.post_view.post.url)} {:else if post.post_view.post.thumbnail_url} {/if} {#if post.post_view.post.body} {/if}
{#if remoteView} {/if}

{#if post.post_view.post.body}
{/if}
toast({ content: 'The post was edited successfully.', type: 'success', })} {type} />
{#if post.cross_posts?.length > 0}
{post.cross_posts.length} {$t('routes.post.crosspostCount')}
{#each post.cross_posts as crosspost} {/each}
{/if}
{#if data.thread.showContext}

{$t('routes.post.thread.part')}

{:else if data.thread.singleThread}

{$t('routes.post.thread.single')}

{/if}
{$t('routes.post.commentCount')}
{#await data.comments}
{#each new Array(10) as empty}
{/each}
{:then comments} {#if $profile?.jwt} (comments.comments = [ comment.detail.comment_view, ...comments.comments, ])} locked={(post.post_view.post.locked && !( $profile?.user?.local_user_view.local_user.admin || $profile?.user?.moderates .map((c) => c.community.id) .includes(data.post.community_view.community.id) )) || $page.params.instance.toLowerCase() != $instance.toLowerCase()} banned={data.post.community_view.banned_from_community} on:focus={() => (commenting = true)} tools={commenting} preview={commenting} placeholder={commenting ? undefined : $t('routes.post.addComment')} rows={commenting ? 7 : 1} /> {/if} !( ($userSettings.hidePosts.deleted && c.comment.deleted) || ($userSettings.hidePosts.removed && c.comment.removed) ) )} isParent={true} /> {/await} {#if post.post_view.counts.comments > 5} {post.post_view.counts.comments} {$t('routes.post.commentCount')} {/if}