{data.post.value.post_view.post.name} {#if isImage(data.post.value.post_view.post.url)} {:else if data.post.value.post_view.post.thumbnail_url} {/if} {#if data.post.value.post_view.post.body} {/if}
i.community.id == data.post.value.post_view.community.id, ) ? 'Subscribed' : 'NotSubscribed'} badges={{ deleted: data.post.value.post_view.post.deleted, removed: data.post.value.post_view.post.removed, locked: data.post.value.post_view.post.locked, featured: data.post.value.post_view.post.featured_community || data.post.value.post_view.post.featured_local, nsfw: data.post.value.post_view.post.nsfw, saved: data.post.value.post_view.saved, admin: data.post.value.post_view.creator_is_admin, moderator: data.post.value.post_view.creator_is_moderator, }} published={publishedToDate(data.post.value.post_view.post.published)} edited={data.post.value.post_view.post.updated} title={data.post.value.post_view.post.name} style="width: max-content;" tags={parseTags(data.post.value.post_view.post.name).tags} />

{#if data.post.value.post_view.post.body}
{/if}
toast({ content: 'The post was edited successfully.', type: 'success', })} />
{#await data.post.value.meta then meta} {@const crossposts = meta.cross_posts} {#if crossposts?.length > 0} {#snippet title()} {$t('routes.post.crosspostCount')} {#snippet action()} {/snippet} {/snippet}
{#key crossposts} {#each crossposts as crosspost (crosspost.post.id)} {/each} {/key}
{/if} {/await}
{#await data.comments.value then comments} {#if data.thread.value.showContext || data.thread.value.singleThread}
{/if} {/await}
{$t('routes.post.commentCount')} {#snippet action()} {/snippet}
{#if !page.url.searchParams.get('noVirtualize')} {/if} {#await data.comments.value}
{#each new Array(10) as _, index} {_}
{/each}
{:then passedComments} {@const comments = new ReactiveState(passedComments)} {#if comments.value.comments.length == 0} {/if} {/await} {#if data.post.value.post_view.counts.comments > 5} {data.post.value.post_view.counts.comments} {$t('routes.post.commentCount')} {#snippet action()} {/snippet} {/if}