{data.post.post_view.post.name} {#if isImage(post.url)} {/if} {#if post.body} {/if}
{#if $page.params.instance.toLowerCase() != $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 isVideo(post.url)} {:else if post.url && !post.thumbnail_url} {post.url} {:else if post.thumbnail_url && post.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: 'success', }) }} />
Comments {postData.counts.comments}
{#if data.singleThread}

You're viewing a single thread.

{/if} {#await data.streamed.comments}
{:then comments} {#if $profile?.user} (comments.comments = [ comment.detail.comment_view, ...comments.comments, ])} locked={postData.post.locked} /> {/if} {#await buildCommentsTreeAsync(comments.comments)}
{:then comments} {/await} {:catch}
Failed to load comments.
{/await}