{data.post.post_view.post.name} {#if isImage(post.url)} {/if} {#if post.body} {/if}
{#if $authData && $page.params.instance.toLowerCase() != $authData.instance.toLowerCase()}

Warning

This URL is for a different instance than you're logged into. You probably won't be able to vote or comment.

{/if}

{post.name}

{#if isImage(post.url)} {post.name} {:else if post.url && !post.thumbnail_url} {post.url} {:else if post.thumbnail_url && post.url} {:else if post.embed_video_url} {/if} {#if post.body}
{/if}
{ post.name = e.detail.post.name post.body = e.detail.post.body post.url = e.detail.post.url toast({ content: 'The post was edited successfully.', type: ToastType.success, }) }} />
Comments {postData.counts.comments}
{#await data.streamed.comments}
{:then comments} {#if $user} (comments.comments = [ comment.detail.comment_view, ...comments.comments, ])} locked={postData.post.locked} /> {/if} {#await buildCommentsTreeAsync(comments.comments)}
{:then comments} {/await} {#if moreComments} {/if} {:catch}
Failed to load comments.
{/await}