• • {Math.floor( (postRes.counts.upvotes / (postRes.counts.upvotes + postRes.counts.downvotes || 1)) * 100 )}%
{#if postRes.post.nsfw} NSFW {/if} {#if postRes.saved} {/if} {#if postRes.post.deleted || postRes.post.removed} {/if} {#if postRes.post.featured_community || postRes.post.featured_local} {/if}
{postRes.post.name} {#if postRes.post.url && !postRes.post.thumbnail_url} {postRes.post.url} {/if} {#if isImage(postRes.post.url)}
{:else if postRes.post.thumbnail_url && postRes.post.url} {postRes.post.name} {new URL(postRes.post.url).hostname} {/if} {#if postRes.post.body && !postRes.post.nsfw}

{postRes.post.body}

{/if}